Mercurial > pidgin
diff 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 |
line wrap: on
line diff
--- a/libpurple/win32/libc_interface.c Fri Nov 16 05:14:14 2007 +0000 +++ b/libpurple/win32/libc_interface.c Fri Nov 16 05:31:39 2007 +0000 @@ -300,7 +300,9 @@ return errbuf; } else - return g_strerror( errornum ); + /* Nothing is supposed to modify what is returned by strerror, + but it isn't const for some reason */ + return (char *)g_strerror( errornum ); } /* unistd.h */