changeset 368:b35c17fcf69d

Added cast to avoid compiler warning.
author markus schnalke <meillo@marmaro.de>
date Thu, 20 Oct 2011 10:22:40 +0200 (2011-10-20)
parents b27f66555ba8
children 19d57eb1b6a1
files src/readsock.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) {