« Return to Thread: PurplePluginProtocolInfo : warning: initialization makes pointer from integer without a cast

PurplePluginProtocolInfo : warning: initialization makes pointer from integer without a cast

by nuwan gunarahtna :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View in Thread

Hi,
I get this warning when I make my pidgin plugin.
This warning returns from where I declare PurplePluginProtocoInfo.

static PurplePluginProtocolInfo prpl_info =
{
  ......
        NULL,
        sizeof(PurplePluginProtocolInfo),       /* struct_size */
        NULL
};


At this line "sizeof(PurplePluginProtocolInfo)," the warning is returned.

what am i missing . I have followed bonjour.c source file and all the header files has been included into my source as well.

thanks


_______________________________________________
Devel mailing list
Devel@...
http://pidgin.im/cgi-bin/mailman/listinfo/devel

 « Return to Thread: PurplePluginProtocolInfo : warning: initialization makes pointer from integer without a cast