Mercurial > hg > Game > Cerium
diff Renderer/Engine/viewer.cc @ 843:de64695a7f02 draft
cleanup unused variables and fix warning.
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 02 Jun 2010 02:03:40 +0900 |
parents | 8accca9e168e |
children | 293fcceaac36 |
line wrap: on
line diff
--- a/Renderer/Engine/viewer.cc Wed Jun 02 01:40:06 2010 +0900 +++ b/Renderer/Engine/viewer.cc Wed Jun 02 02:03:40 2010 +0900 @@ -144,7 +144,7 @@ light_sysswitch = (int*)manager->allocate(size); - for (int i = 0; i < size / sizeof(int); i++) { + for (unsigned int i = 0; i < size / sizeof(int); i++) { light_sysswitch[i] = 0; }