diff libpurple/protocols/qq/group_im.c @ 18141:833f7cbe4f12

A patch from o_sukhodolsky to fix a compiler warning in the QQ code. I've modified this patch so it actually compiles, then used the new function to fix the other warning in the same file. Fixes #1566 References #1344
author Richard Laager <rlaager@wiktel.com>
date Sun, 17 Jun 2007 01:11:45 +0000
parents 08db93bbd798
children b8572b937c09
line wrap: on
line diff
--- a/libpurple/protocols/qq/group_im.c	Sun Jun 17 00:19:12 2007 +0000
+++ b/libpurple/protocols/qq/group_im.c	Sun Jun 17 01:11:45 2007 +0000
@@ -341,7 +341,7 @@
 	read_packet_dw(data, cursor, data_len, &(im_group->member_uid));
 	read_packet_w(data, cursor, data_len, &unknown);	/* 0x0001? */
 	read_packet_w(data, cursor, data_len, &(im_group->msg_seq));
-	read_packet_dw(data, cursor, data_len, (guint32 *) & (im_group->send_time));
+	read_packet_time(data, cursor, data_len, &im_group->send_time);
 	read_packet_dw(data, cursor, data_len, &unknown4);	/* versionID */
 	/*
 	 * length includes font_attr