diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-23 09:51:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-23 09:51:58 +0100 |
commit | 720dff25451a533504cda834d9ca9f03a93b1bdd (patch) | |
tree | eb15ba8ae5db278ca8d4f03adb81f5efc15b62b2 /hwpfilter | |
parent | 90db9830d0e8c344af340a30b6d5779fefe74d49 (diff) |
cppcheck: unsignedLessThanZero
Change-Id: I1043e24fdf0350e38b587f11a2916bd54e8f718f
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hwpfile.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hwpfilter/source/hwpfile.cxx b/hwpfilter/source/hwpfile.cxx index 6e1d488ddef8..b80f8c1fd05e 100644 --- a/hwpfilter/source/hwpfile.cxx +++ b/hwpfilter/source/hwpfile.cxx @@ -284,7 +284,7 @@ void HWPFile::TagsRead() uint tag; if (!Read4b(tag)) return; - uint size; + int size; if (!Read4b(size)) return; if (size <= 0 && tag > 0){ @@ -318,7 +318,7 @@ void HWPFile::TagsRead() SkipBlock( size ); else { - for( uint i = 0 ; i < size/617 ; i++) + for( int i = 0 ; i < size/617 ; i++) { HyperText *hypert = new HyperText; hypert->Read(*this); |