From b06d951e7189b8015a188bcc3af2a0ef75423de8 Mon Sep 17 00:00:00 2001 From: Ben Anderson Date: Thu, 12 Jun 2003 23:04:48 +0000 Subject: [PATCH] Whoops! That's not supposed to be const! Respect the rule of the almighty GCC! --- stepmania/src/BannerCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/BannerCache.cpp b/stepmania/src/BannerCache.cpp index b9963ec0d2..a42d49196b 100644 --- a/stepmania/src/BannerCache.cpp +++ b/stepmania/src/BannerCache.cpp @@ -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; }