From 0aa94e999fe32557c15f0caf1bda5a7f216e142f Mon Sep 17 00:00:00 2001 From: sb Date: Thu, 23 Sep 2010 16:42:50 +0200 Subject: sb132: #i113570# correctly pass char* to %s (patch by tono) --- crashrep/source/win32/soreport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crashrep/source/win32') diff --git a/crashrep/source/win32/soreport.cpp b/crashrep/source/win32/soreport.cpp index f3d19ca98790..abca528dc987 100755 --- a/crashrep/source/win32/soreport.cpp +++ b/crashrep/source/win32/soreport.cpp @@ -1847,7 +1847,7 @@ bool WriteChecksumFile( FILE *fchksum, const hash_map< string, string >& rLibrar for ( int i = 0; i < sizeof(checksum); fprintf( fchksum, "%02X", checksum[i++] ) ); fprintf( fchksum, "\" bytes=\"%d\" file=\"%s\"/>\n", nBytesProcessed, - GetFileName( iter->first ) ); + GetFileName( iter->first ).c_str() ); } } -- cgit