diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-04-25 14:46:46 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-04-25 14:47:26 -0400 |
commit | eeb700ce313028229e1444016c281817328e292f (patch) | |
tree | 707948fea0a0445b2db9582f5fef2877ccd7086f /evutil.c | |
parent | 6b94ffcec532038cdebacd1e9e78a7a6276ad6a5 (diff) | |
download | libevent-eeb700ce313028229e1444016c281817328e292f.tar.gz |
Fix a warning introduced in 0c6ec5d8
Diffstat (limited to 'evutil.c')
-rw-r--r-- | evutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1697,7 +1697,7 @@ evutil_socket_error_to_string(int errcode) /* use LocalAlloc because FormatMessage does */ msg = LocalAlloc(LMEM_FIXED, len); if (!msg) { - msg = "winsock error"; + msg = (char *)"LocalAlloc failed during Winsock error"; goto done; } evutil_snprintf(msg, len, "winsock error 0x%08x", errcode); |