diff -r 3949b825f4bf -r faf0414a8b51 libpurple/protocols/zephyr/Zinternal.c --- a/libpurple/protocols/zephyr/Zinternal.c Tue Aug 20 14:04:56 2013 +0200 +++ b/libpurple/protocols/zephyr/Zinternal.c Wed Aug 21 14:59:29 2013 +0200 @@ -206,7 +206,7 @@ if (ZCompareUID(uid, &qptr->uid) && qptr->kind == kind) return (qptr); next = qptr->next; - if (qptr->timep && (qptr->timep+Z_NOTICETIMELIMIT < tv.tv_sec)) + if (qptr->timep && ((time_t)qptr->timep+Z_NOTICETIMELIMIT < tv.tv_sec)) Z_RemQueue(qptr); qptr = next; } @@ -648,7 +648,7 @@ Code_t Z_FormatRawHeader(notice, buffer, buffer_len, len, cstart, cend) ZNotice_t *notice; char *buffer; - int buffer_len; + gsize buffer_len; int *len; char **cstart, **cend; {