diff options
author | David Tardon <dtardon@redhat.com> | 2012-03-08 10:11:02 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-03-12 08:53:32 +0100 |
commit | 277e9c4ca81ec2315214126c0ac6949e20c5443e (patch) | |
tree | c2c0a6c8fd7d963c051f500182032fe5e801443a /vcl | |
parent | 79305e38c5f53fb821d4931af87d8c4befeca2f9 (diff) |
WaE: format '%x' expects argument of type 'unsigned int'
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/source/window/salframe.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index 1b331180eced..5d64d15210f6 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -6144,14 +6144,14 @@ sal_Bool ImplWriteLastError( DWORD lastError, const char *szApiCall ) if( first ) { first = 0; - fprintf( fp, "Process ID: %d (0x%x)\n", GetCurrentProcessId(), GetCurrentProcessId() ); + fprintf( fp, "Process ID: %ld (0x%lx)\n", GetCurrentProcessId(), GetCurrentProcessId() ); } time_t aclock; time( &aclock ); // Get time in seconds struct tm *newtime = localtime( &aclock ); // Convert time to struct tm form fprintf( fp, asctime( newtime ) ); // print time stamp - fprintf( fp, "%s returned %u (0x%x)\n", szApiCall, lastError, lastError ); + fprintf( fp, "%s returned %lu (0x%lx)\n", szApiCall, lastError, lastError ); bSuccess = TRUE; // may be FormatMessage fails but we wrote at least the error code LPVOID lpMsgBuf; |