Fix warnings in various patchsets

Correct the warning thats issued when GetLastError wsa used for %u, changed to use the standard %lx format.
This commit is contained in:
Alistair Leslie-Hughes
2024-01-14 08:57:52 +11:00
parent f445af0deb
commit 15b6373d23
14 changed files with 46 additions and 46 deletions

View File

@@ -44,7 +44,7 @@ index af67e8d75bf..608b64a32ad 100644
+ GetWindowsDirectoryW( path, MAX_PATH );
+ path[2] = 0;
+ ok( QueryDosDeviceW( path, temp, MAX_PATH ),
+ "QueryDosDeviceW failed with error %u\n", GetLastError() );
+ "QueryDosDeviceW failed with error %lx\n", GetLastError() );
+ lstrcatW( temp, sepW );
+ lstrcatW( temp, path+3 );
+ lstrcatW( temp, sepW );
@@ -53,12 +53,12 @@ index af67e8d75bf..608b64a32ad 100644
+ pRtlInitUnicodeString( &nameW, temp );
+ status = pNtQueryFullAttributesFile( &attr, &info );
+ ok( status == STATUS_SUCCESS,
+ "query %s failed %x\n", wine_dbgstr_w(nameW.Buffer), status );
+ "query %s failed %lx\n", wine_dbgstr_w(nameW.Buffer), status );
+
+ pRtlInitUnicodeString( &nameW, systemrootExplorerW );
+ status = pNtQueryFullAttributesFile( &attr, &info );
+ ok( status == STATUS_SUCCESS,
+ "query %s failed %x\n", wine_dbgstr_w(nameW.Buffer), status );
+ "query %s failed %lx\n", wine_dbgstr_w(nameW.Buffer), status );
}
static void open_file_test(void)