mdb_strerror: Silence warning @ Windows

mdb.RE/0.9
Hallvard Furuseth 10 years ago
parent 5bf495abdc
commit 8704eff591
  1. 2
      libraries/liblmdb/mdb.c

@ -1316,7 +1316,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