comparison libpurple/win32/libc_interface.c @ 21549:a3ed675a63b5

Suppress warning
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 16 Nov 2007 05:31:39 +0000
parents 35b4f1dc4c8d
children 8eaaa8966e4d
comparison
equal deleted inserted replaced
21548:0015b58bee6f 21549:a3ed675a63b5
298 if( errornum > WSABASEERR ) { 298 if( errornum > WSABASEERR ) {
299 sprintf( errbuf, "Windows socket error #%d", errornum ); 299 sprintf( errbuf, "Windows socket error #%d", errornum );
300 return errbuf; 300 return errbuf;
301 } 301 }
302 else 302 else
303 return g_strerror( errornum ); 303 /* Nothing is supposed to modify what is returned by strerror,
304 but it isn't const for some reason */
305 return (char *)g_strerror( errornum );
304 } 306 }
305 307
306 /* unistd.h */ 308 /* unistd.h */
307 309
308 /* 310 /*