diff options
author | David Tardon <dtardon@redhat.com> | 2012-03-08 11:44:28 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-03-12 08:53:35 +0100 |
commit | 55afdcce6d46e9824467999aef92ef04347cfeb1 (patch) | |
tree | b16185b698b953584a59f4cdb298224f65020c70 /dtrans | |
parent | use SAL_N_ELEMENTS (diff) | |
download | core-55afdcce6d46e9824467999aef92ef04347cfeb1.tar.gz core-55afdcce6d46e9824467999aef92ef04347cfeb1.zip |
WaE: comparison between signed and unsigned integer expressions
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/win32/misc/ImplHelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dtrans/source/win32/misc/ImplHelper.cxx b/dtrans/source/win32/misc/ImplHelper.cxx index 9061e8099190..abeb028309a3 100644 --- a/dtrans/source/win32/misc/ImplHelper.cxx +++ b/dtrans/source/win32/misc/ImplHelper.cxx @@ -183,8 +183,8 @@ sal_Bool SAL_CALL IsOEMCP( sal_uInt32 codepage ) 861, 862, 863, 864, 865, 866, 869, 874, 932, 936, 949, 950, 1361 }; - for ( sal_Int8 i = 0; i < ( SAL_N_ELEMENTS( arrOEMCP ) ); ++i ) - if ( (sal_uInt32) arrOEMCP[i] == codepage ) + for ( size_t i = 0; i < SAL_N_ELEMENTS( arrOEMCP ); ++i ) + if ( arrOEMCP[i] == codepage ) return sal_True; return sal_False; |