pkgsrc/chat/icqlib/patches/patch-aa
joerg 627c916f2f va_arg with type shorter than int is invalid and GCC's builtin will
generate an explicit abort() for that code path. Use correct promotion
and bump revision.
2006-01-10 12:52:45 +00:00

13 lines
397 B
Text

$NetBSD: patch-aa,v 1.1 2006/01/10 12:52:45 joerg Exp $
--- icqlib/queue.c.orig 2006-01-10 10:48:20.000000000 +0000
+++ icqlib/queue.c
@@ -127,7 +127,7 @@ void icq_UDPQueueFree(ICQLINK *link)
int icq_UDPQueueFindSeq(void *p, va_list data)
{
- WORD seq=va_arg(data, WORD);
+ WORD seq=va_arg(data, unsigned int);
return icq_PacketReadUDPOutSeq1(((icq_UDPQueueItem *)p)->pack) == seq;
}