summaryrefslogtreecommitdiff
path: root/crashrep
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-09-23 16:42:50 +0200
committersb <sb@openoffice.org>2010-09-23 16:42:50 +0200
commit0aa94e999fe32557c15f0caf1bda5a7f216e142f (patch)
treedfcd7d17d137783bd03dedbcf4207e04fdfc617a /crashrep
parent974a58a3f7f7974638ca73b465b15f2a428cc651 (diff)
sb132: #i113570# correctly pass char* to %s (patch by tono)
Diffstat (limited to 'crashrep')
-rwxr-xr-xcrashrep/source/win32/soreport.cpp2
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() );
}
}