changeset 23688:f56505a982e8

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¡Ç)
author Mark Doliner <mark@kingant.net>
date Mon, 04 Aug 2008 07:04:53 +0000
parents 3d7177f19f17
children c07b2a2b1b62
files libpurple/protocols/qq/qq.c
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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
 };