1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-15 11:41:13 +03:00

Use FormatMessageA() instead of FormatMessage() in the w32 VFS.

Ticket #2687. (CVS 4468)

FossilOrigin-Name: 38674fd287e0ca67e27c46a3ad0db4dcc8ed1e0c
This commit is contained in:
drh
2007-10-05 14:49:45 +00:00
parent 7795207b1f
commit ee8683e1a8
3 changed files with 8 additions and 8 deletions

View File

@@ -1403,7 +1403,7 @@ static void *winDlOpen(sqlite3_vfs *pVfs, const char *zFilename){
return (void*)h;
}
static void winDlError(sqlite3_vfs *pVfs, int nBuf, char *zBufOut){
FormatMessage(
FormatMessageA(
FORMAT_MESSAGE_FROM_SYSTEM,
NULL,
GetLastError(),