diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-11-20 00:03:10 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-11-20 00:04:13 +0100 |
commit | d273a60bfdbf9bb7623bed38667ec0647753157c (patch) | |
tree | 727148cfdb6fd83886e1280a84b26b7efa9a6a08 /sal | |
parent | 6b9ab853b6a5fa71c0b6c594ed0e6e6016d13a3b (diff) |
sal: fix --enable-crashdump build in new C++ world order
Change-Id: I95e4f43f4ef40e8c04b37002bbae03f4f23a9e34
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/signal.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/osl/unx/signal.cxx b/sal/osl/unx/signal.cxx index 890b73e523c9..b5de273ab968 100644 --- a/sal/osl/unx/signal.cxx +++ b/sal/osl/unx/signal.cxx @@ -599,11 +599,11 @@ static int ReportCrash( int Signal ) Dl_info dl_info; 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 "\"", iFrame, - SAL_INT_CAST(sal_uIntPtr, stackframes[iFrame]) + reinterpret_cast<sal_uIntPtr>(stackframes[iFrame]) ); memset( &dl_info, 0, sizeof(dl_info) ); @@ -648,8 +648,8 @@ static int ReportCrash( int Signal ) for ( j = 0; j < 16; fprintf( checksumout, "%02X", checksum[j++] ) ); fprintf( checksumout, "\" bytes=\"%lu\" file=\"%s\"/>\n", - SAL_INT_CAST( - unsigned long, nBytesProcessed), + sal::static_int_cast< + unsigned long>(nBytesProcessed), dli_fname ); } } |