Kaydet (Commit) d273a60b authored tarafından Michael Stahl's avatar Michael Stahl

sal: fix --enable-crashdump build in new C++ world order

Change-Id: I95e4f43f4ef40e8c04b37002bbae03f4f23a9e34
üst 6b9ab853
...@@ -599,11 +599,11 @@ static int ReportCrash( int Signal ) ...@@ -599,11 +599,11 @@ static int ReportCrash( int Signal )
Dl_info dl_info; Dl_info dl_info;
fprintf( stackout, "0x%" SAL_PRIxUINTPTR ":", fprintf( stackout, "0x%" SAL_PRIxUINTPTR ":",
SAL_INT_CAST(sal_uIntPtr, stackframes[iFrame]) ); reinterpret_cast<sal_uIntPtr>(stackframes[iFrame]) );
fprintf( xmlout, "<errormail:StackInfo pos=\"%d\" ip=\"0x%" SAL_PRIxUINTPTR "\"", fprintf( xmlout, "<errormail:StackInfo pos=\"%d\" ip=\"0x%" SAL_PRIxUINTPTR "\"",
iFrame, iFrame,
SAL_INT_CAST(sal_uIntPtr, stackframes[iFrame]) reinterpret_cast<sal_uIntPtr>(stackframes[iFrame])
); );
memset( &dl_info, 0, sizeof(dl_info) ); memset( &dl_info, 0, sizeof(dl_info) );
...@@ -648,8 +648,8 @@ static int ReportCrash( int Signal ) ...@@ -648,8 +648,8 @@ static int ReportCrash( int Signal )
for ( j = 0; j < 16; fprintf( checksumout, "%02X", checksum[j++] ) ); for ( j = 0; j < 16; fprintf( checksumout, "%02X", checksum[j++] ) );
fprintf( checksumout, fprintf( checksumout,
"\" bytes=\"%lu\" file=\"%s\"/>\n", "\" bytes=\"%lu\" file=\"%s\"/>\n",
SAL_INT_CAST( sal::static_int_cast<
unsigned long, nBytesProcessed), unsigned long>(nBytesProcessed),
dli_fname ); dli_fname );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment