{
private_endpoint_notify_t *clone;
- clone = endpoint_notify_create();
+ clone = (private_endpoint_notify_t*)endpoint_notify_create();
clone->priority = this->priority;
clone->type = this->type;
clone->family = this->family;
.type = NO_TYPE,
);
- return this;
+ return &this->public;
}
/**
{
private_endpoint_notify_t *this;
- this = endpoint_notify_create();
+ this = (private_endpoint_notify_t*)endpoint_notify_create();
this->type = type;
switch(type)
return NULL;
}
- this = endpoint_notify_create();
+ this = (private_endpoint_notify_t*)endpoint_notify_create();
data = notify->get_notification_data(notify);
if (parse_notification_data(this, data) != SUCCESS)