From e2e5cdeb65050960f31ee2535aefabb85111a332 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 7 Sep 2002 10:22:06 +0000 Subject: [PATCH] Hashes are unsigned. Remove unused variables. --- stepmania/src/Song.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/stepmania/src/Song.cpp b/stepmania/src/Song.cpp index d0c4401bbe..7662b2b8e3 100644 --- a/stepmania/src/Song.cpp +++ b/stepmania/src/Song.cpp @@ -160,8 +160,6 @@ void Song::GetBeatAndBPSFromElapsedTime( float fElapsedTime, float &fBeatOut, fl for( int i=0; iGetCacheHash(m_sSongDir); - if( GetHashForDirectory(m_sSongDir) == iDirHash && // this cache is up to date + unsigned DirHash = SONGINDEX->GetCacheHash(m_sSongDir); + if( GetHashForDirectory(m_sSongDir) == uDirHash && // this cache is up to date DoesFileExist(GetCacheFilePath())) { LOG->Trace( "Loading '%s' from cache file '%s'.", m_sSongDir, GetCacheFilePath() );