diff options
author | sb <sb@openoffice.org> | 2010-09-23 16:42:50 +0200 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-09-23 16:42:50 +0200 |
commit | 0aa94e999fe32557c15f0caf1bda5a7f216e142f (patch) | |
tree | dfcd7d17d137783bd03dedbcf4207e04fdfc617a /crashrep | |
parent | 974a58a3f7f7974638ca73b465b15f2a428cc651 (diff) |
sb132: #i113570# correctly pass char* to %s (patch by tono)
Diffstat (limited to 'crashrep')
-rwxr-xr-x | crashrep/source/win32/soreport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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() ); } } |