# HG changeset patch # User Mark Doliner # Date 1217833493 0 # Node ID f56505a982e8b02e26f61702329209388859ccb1 # Parent 3d7177f19f176e91f79bca561abbd47413540b9d Get rid of a compile warning in qq: qq.c:762: warning: initialization makes integer from pointer without a cast qq.c:762: warning: missing initializer qq.c:762: warning: (near initialization for ¡Æprpl_info.get_account_text_table¡Ç) diff -r 3d7177f19f17 -r f56505a982e8 libpurple/protocols/qq/qq.c --- a/libpurple/protocols/qq/qq.c Mon Aug 04 07:01:38 2008 +0000 +++ b/libpurple/protocols/qq/qq.c Mon Aug 04 07:04:53 2008 +0000 @@ -689,7 +689,8 @@ return chat_name_to_purple_name(who); } -static PurplePluginProtocolInfo prpl_info = { +static PurplePluginProtocolInfo prpl_info = +{ OPT_PROTO_CHAT_TOPIC | OPT_PROTO_USE_POINTSIZE, NULL, /* user_splits */ NULL, /* protocol_options */ @@ -752,11 +753,11 @@ NULL, /* PurpleWhiteboardPrplOps */ NULL, /* send_raw */ NULL, /* roomlist_room_serialize */ + NULL, /* unregister_user */ + NULL, /* send_attention */ + NULL, /* get attention_types */ - /* padding */ - NULL, - NULL, - NULL, + sizeof(PurplePluginProtocolInfo), /* struct_size */ NULL };