mdb_strerror: Silence warning @ Windows

vl32b
Hallvard Furuseth 10 years ago
parent 4376a19c5c
commit 0697869d92
  1. 2
      libraries/liblmdb/mdb.c

@ -1354,7 +1354,7 @@ mdb_strerror(int err)
buf[0] = 0; buf[0] = 0;
FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM | FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS, FORMAT_MESSAGE_IGNORE_INSERTS,
NULL, err, 0, ptr, sizeof(buf), pad); NULL, err, 0, ptr, sizeof(buf), (va_list *)pad);
return ptr; return ptr;
#else #else
return strerror(err); return strerror(err);

Loading…
Cancel
Save