From d413d6f0bef0814702d22cf9e6b393ec799e6d6d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 15 Jul 2003 00:50:52 +0000 Subject: [PATCH] (It's supposed to look like a function call; a function call that casts one type to another.) Use a C-style cast instead of static_cast; more readable. --- stepmania/src/InputFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/InputFilter.cpp b/stepmania/src/InputFilter.cpp index d024a76d85..a3eea2249e 100644 --- a/stepmania/src/InputFilter.cpp +++ b/stepmania/src/InputFilter.cpp @@ -85,7 +85,7 @@ void InputFilter::Update(float fDeltaTime) if( int(fOldHoldTime/fTimeBetweenRepeats) != int(fNewHoldTime/fTimeBetweenRepeats) ) { RageTimer now; - DeviceInput di(static_cast(d),b,now); + DeviceInput di( (InputDevice)d,b,now); queue.push_back( InputEvent(di,iet) ); } }