# HG changeset patch # User Mark Doliner # Date 1058728273 0 # Node ID 9860b81548d88c61fd730ce91ea9e19be42e5fb5 # Parent 2cb2a49f4bbecedad30386a7d20ad18a2039d30e [gaim-migrate @ 6741] A patch from Tomasz Gajewski that should make Gadu-Gadu work again. http://sourceforge.net/tracker/index.php?func=detail&aid=774634&group_id=235&atid=300235 committer: Tailor Script diff -r 2cb2a49f4bbe -r 9860b81548d8 src/protocols/gg/libgg.c --- a/src/protocols/gg/libgg.c Sun Jul 20 18:59:56 2003 +0000 +++ b/src/protocols/gg/libgg.c Sun Jul 20 19:11:13 2003 +0000 @@ -1,4 +1,4 @@ -/* $Id: libgg.c 6513 2003-07-08 06:11:49Z faceprint $ */ +/* $Id: libgg.c 6741 2003-07-20 19:11:13Z thekingant $ */ /* * (C) Copyright 2001 Wojtek Kaniewski , @@ -73,7 +73,7 @@ #ifdef __GNUC__ __attribute__ ((unused)) #endif -= "$Id: libgg.c 6513 2003-07-08 06:11:49Z faceprint $"; += "$Id: libgg.c 6741 2003-07-20 19:11:13Z thekingant $"; #endif @@ -750,7 +750,7 @@ return -1; } - p = h + sizeof(struct gg_header); + p = (void *)h + sizeof(struct gg_header); if (h->type == GG_RECV_MSG) { struct gg_recv_msg *r = p; @@ -1131,7 +1131,7 @@ break; } - w = (struct gg_welcome *)(h + sizeof(struct gg_header)); + w = (struct gg_welcome *)((void *)h + sizeof(struct gg_header)); w->key = fix32(w->key); for (hash = 1; *password; password++)