From 134cbf284bac50425c307a0cf9ac5d8eed1a79b0 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Thu, 28 Apr 2005 08:37:13 +0000 Subject: [PATCH] fix VC7 warning --- stepmania/src/Preference.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/Preference.cpp b/stepmania/src/Preference.cpp index 71920137ef..70ea373f0e 100644 --- a/stepmania/src/Preference.cpp +++ b/stepmania/src/Preference.cpp @@ -59,10 +59,10 @@ void IPreference::SetFromStack( lua_State *L ) LuaHelpers::PopStack( (cast)m_currentValue, L ); \ } -READFROM_AND_WRITETO( int, int ) -READFROM_AND_WRITETO( float, float ) -READFROM_AND_WRITETO( bool, bool ) -READFROM_AND_WRITETO( CString, CString ) +READFROM_AND_WRITETO( int, int& ) +READFROM_AND_WRITETO( float, float& ) +READFROM_AND_WRITETO( bool, bool& ) +READFROM_AND_WRITETO( CString, CString& ) READFROM_AND_WRITETO( PrefsManager::BackgroundMode, int& ) READFROM_AND_WRITETO( PrefsManager::BannerCache, int& ) READFROM_AND_WRITETO( PrefsManager::MusicWheelUsesSections, int& )