diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-04-26 13:08:49 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-04-26 13:08:49 +0000 |
commit | 6b1220b61d5ed2481dbf31714a68be6ef6eed3da (patch) | |
tree | 2fdb2eb09bbfae448dc87dc0e9fc214452cb12e1 /lib/strerror.c | |
parent | 9d7330d8790be54c3885e23359b25534974cfb82 (diff) |
Cory Nelson's work on nuking compiler warnings when building on x64 with
VS2005.
Diffstat (limited to 'lib/strerror.c')
-rw-r--r-- | lib/strerror.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strerror.c b/lib/strerror.c index b567f9bee..dcc7f5040 100644 --- a/lib/strerror.c +++ b/lib/strerror.c @@ -571,7 +571,7 @@ const char *Curl_strerror(struct connectdata *conn, int err) else { if (!get_winsock_error(err, buf, max) && !FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, NULL, err, - LANG_NEUTRAL, buf, max, NULL)) + LANG_NEUTRAL, buf, (DWORD)max, NULL)) snprintf(buf, max, "Unknown error %d (%#x)", err, err); } #endif |