diff options
author | Christian Lippka <christian.lippka@sun.com> | 2010-01-05 10:42:47 +0100 |
---|---|---|
committer | Christian Lippka <christian.lippka@sun.com> | 2010-01-05 10:42:47 +0100 |
commit | 5ea66a47f68665b5fd16b02188b85f64db2e3866 (patch) | |
tree | 25a4637ae15dbcc0dbad65de5c8c7b9feb2be66c /svtools/source | |
parent | 3107778b2e96dfe72298d9a7eda8eca59b789a12 (diff) |
fixed compile error on linux
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/filter.vcl/wmf/winwmf.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/filter.vcl/wmf/winwmf.cxx b/svtools/source/filter.vcl/wmf/winwmf.cxx index 54629383a4f8..f9ae46e98e12 100644 --- a/svtools/source/filter.vcl/wmf/winwmf.cxx +++ b/svtools/source/filter.vcl/wmf/winwmf.cxx @@ -918,7 +918,7 @@ void WMFReader::ReadRecordParams( USHORT nFunc ) } } } - else if ( nNewMagic == 0x43464D57 && nLen >= 34 && ( nLen + 10 <= nRecSize * 2 )) + else if ( (nNewMagic == static_cast< sal_uInt32 >(0x43464D57)) && (nLen >= 34) && ( (sal_Int32)(nLen + 10) <= (sal_Int32)(nRecSize * 2) )) { sal_uInt32 nComType, nVersion, nFlags, nComRecCount, nCurRecSize, nRemainingSize, nEMFTotalSize; |