diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-09-15 21:54:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-09-15 21:54:32 +0200 |
commit | 8916f842e04ab52ee6efe0bdeba805f781a72851 (patch) | |
tree | 28a5a419d9ed1d7bfe23fdb732aa311013211a86 /filter | |
parent | Removed bogus assert. (diff) | |
download | core-8916f842e04ab52ee6efe0bdeba805f781a72851.tar.gz core-8916f842e04ab52ee6efe0bdeba805f781a72851.zip |
"long" actually meant 32 bit here.
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphicfilter/icgm/cgm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/graphicfilter/icgm/cgm.cxx b/filter/source/graphicfilter/icgm/cgm.cxx index dbc2941a9880..5a69488fdc5f 100644 --- a/filter/source/graphicfilter/icgm/cgm.cxx +++ b/filter/source/graphicfilter/icgm/cgm.cxx @@ -260,7 +260,7 @@ double CGM::ImplGetFloat( RealPrecision eRealPrecision, sal_uInt32 nRealSize ) } else { - long* pLong = (long*)pPtr; + sal_Int32* pLong = (sal_Int32*)pPtr; nRetValue = (double)abs( pLong[ nSwitch ] ); nRetValue *= 65536; nVal = (sal_uInt32)( pLong[ nSwitch ^ 1 ] ); |