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:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user