Whoops! That's not supposed to be const! Respect the rule of the almighty GCC!

This commit is contained in:
Ben Anderson
2003-06-12 23:04:48 +00:00
parent 26de0ae0a4
commit b06d951e71
+1 -1
View File
@@ -69,7 +69,7 @@ void BannerCache::LoadAllBanners()
int total_size = 0;
for( ban = m_BannerPathToImage.begin(); ban != m_BannerPathToImage.end(); ++ban )
{
const SDL_Surface *&img = ban->second;
SDL_Surface *&img = ban->second;
const int size = img->pitch * img->h;
total_size += size;
}