Thread: Cast question
View Single Post
Go4Expert Member
25May2007,23:25  
bughunter2's Avatar
I tried the following to cast the division result:

Code:
            /* increase gravity */
            if((int)(1000/60) /* 60 Hz */ > m_iGravity)
            {
                --m_iGravity;
            }