Mercurial > pidgin
diff libpurple/protocols/qq/packet_parse.h @ 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 | 32c366eeeb99 |
| children | 30663201d911 |
line wrap: on
line diff
--- a/libpurple/protocols/qq/packet_parse.h Sun Jun 17 00:19:12 2007 +0000 +++ b/libpurple/protocols/qq/packet_parse.h Sun Jun 17 01:11:45 2007 +0000 @@ -39,6 +39,7 @@ gint read_packet_b(guint8 *buf, guint8 **cursor, gint buflen, guint8 *b); gint read_packet_w(guint8 *buf, guint8 **cursor, gint buflen, guint16 *w); gint read_packet_dw(guint8 *buf, guint8 **cursor, gint buflen, guint32 *dw); +gint read_packet_time(guint8 *buf, guint8 **cursor, gint buflen, time_t *t); gint read_packet_data(guint8 *buf, guint8 **cursor, gint buflen, guint8 *data, gint datalen); gint create_packet_b(guint8 *buf, guint8 **cursor, guint8 b); gint create_packet_w(guint8 *buf, guint8 **cursor, guint16 w);
