comparison libpurple/protocols/qq/group.c @ 24560:45772d1c579a

Change Qun number to unsigned long
author Hu Yong <ccpaging@gmail.com>
date Tue, 11 Nov 2008 07:04:04 +0000
parents 1ee91ff0d5fe
children 8f757b2139d2
comparison
equal deleted inserted replaced
24559:7fd21b0ed7d1 24560:45772d1c579a
38 static void _qq_group_search_callback(PurpleConnection *gc, const gchar *input) 38 static void _qq_group_search_callback(PurpleConnection *gc, const gchar *input)
39 { 39 {
40 guint32 ext_id; 40 guint32 ext_id;
41 41
42 g_return_if_fail(input != NULL); 42 g_return_if_fail(input != NULL);
43 ext_id = strtol(input, NULL, 10); 43 ext_id = strtoul(input, NULL, 10);
44 /* 0x00000000 means search for demo group */ 44 /* 0x00000000 means search for demo group */
45 qq_request_room_search(gc, ext_id, QQ_ROOM_SEARCH_ONLY); 45 qq_request_room_search(gc, ext_id, QQ_ROOM_SEARCH_ONLY);
46 } 46 }
47 47
48 static void _qq_group_search_cancel_callback(PurpleConnection *gc, const gchar *input) 48 static void _qq_group_search_cancel_callback(PurpleConnection *gc, const gchar *input)