diff options
author | Max Horn | 2010-10-13 22:18:32 +0000 |
---|---|---|
committer | Max Horn | 2010-10-13 22:18:32 +0000 |
commit | 810f0875997686157e88445448544da6a47428ca (patch) | |
tree | 25d5997eb31acd07c7b38f8b5b727087db0edbc0 /engines/sword25/gfx/image/vectorimagerenderer.cpp | |
parent | 072c5b447c14b895ff90cddf699aedd741c5ff92 (diff) | |
download | scummvm-rg350-810f0875997686157e88445448544da6a47428ca.tar.gz scummvm-rg350-810f0875997686157e88445448544da6a47428ca.tar.bz2 scummvm-rg350-810f0875997686157e88445448544da6a47428ca.zip |
SWORD25: Fix empty loop body & conversion warnings
svn-id: r53450
Diffstat (limited to 'engines/sword25/gfx/image/vectorimagerenderer.cpp')
-rw-r--r-- | engines/sword25/gfx/image/vectorimagerenderer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword25/gfx/image/vectorimagerenderer.cpp b/engines/sword25/gfx/image/vectorimagerenderer.cpp index 16d1abf9f9..d4c1a9c0f1 100644 --- a/engines/sword25/gfx/image/vectorimagerenderer.cpp +++ b/engines/sword25/gfx/image/vectorimagerenderer.cpp @@ -248,9 +248,9 @@ void art_rgb_svp_alpha1(const ArtSVP *svp, } static int art_vpath_len(ArtVpath *a) { - int i; - - for (i = 0; a[i].code != ART_END; i++); + int i = 0; + while (a[i].code != ART_END) + i++; return i; } |