# HG changeset patch # User markus schnalke # Date 1319098960 -7200 # Node ID b35c17fcf69d470b882cc1ca8dc8b1f67d8de4f0 # Parent b27f66555ba8f72686f5ef82c9ace0bcc0674c3e Added cast to avoid compiler warning. diff -r b27f66555ba8 -r b35c17fcf69d src/readsock.c --- a/src/readsock.c Thu Oct 20 10:20:59 2011 +0200 +++ b/src/readsock.c Thu Oct 20 10:22:40 2011 +0200 @@ -151,7 +151,7 @@ } if (!*pbuf) - *pbuf = g_malloc(size); + *pbuf = (char *) g_malloc(size); buf = *pbuf; while (1) {