mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-06 06:59:54 -05:00
mdb_strerror: Silence warning @ Windows
This commit is contained in:
parent
4376a19c5c
commit
0697869d92
1 changed files with 1 additions and 1 deletions
|
|
@ -1354,7 +1354,7 @@ mdb_strerror(int err)
|
|||
buf[0] = 0;
|
||||
FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM |
|
||||
FORMAT_MESSAGE_IGNORE_INSERTS,
|
||||
NULL, err, 0, ptr, sizeof(buf), pad);
|
||||
NULL, err, 0, ptr, sizeof(buf), (va_list *)pad);
|
||||
return ptr;
|
||||
#else
|
||||
return strerror(err);
|
||||
|
|
|
|||
Loading…
Reference in a new issue