From 9633f32bfac6e0737a1bc24511988fc0613901b5 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 28 Jan 2009 22:24:45 +0000 Subject: [PATCH] compiler warning --- panda/src/gobj/texture.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/gobj/texture.cxx b/panda/src/gobj/texture.cxx index 5bdff04b9a..101bb6cb57 100644 --- a/panda/src/gobj/texture.cxx +++ b/panda/src/gobj/texture.cxx @@ -4636,7 +4636,7 @@ read_dds_level_generic_uncompressed(Texture *tex, const DDSHeader &header, // Read a little-endian numeric value of bpp bytes. unsigned int pixel = 0; int shift = 0; - for (int b = 0; b < bpp; ++b) { + for (int bi = 0; bi < bpp; ++bi) { unsigned int ch = (unsigned char)in.get(); pixel |= (ch << shift); shift += 8;