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 | |
parent | 79dd329a884c2746b41c9c32116895a7237d286e (diff) |
"long" actually meant 32 bit here.
-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 ] ); |