Simple pass over the codebase to standardize the platform types.

This commit is contained in:
cpusci 2013-08-04 16:26:01 -05:00
parent c75d6feb20
commit 4c35fd37af
189 changed files with 824 additions and 824 deletions

View file

@ -1068,7 +1068,7 @@ bool Win32Window::translateMessage(MSG &msg)
if(mAccelHandle == NULL || mWindowHandle == NULL || !mEnableAccelerators)
return false;
int ret = TranslateAccelerator(mWindowHandle, mAccelHandle, &msg);
S32 ret = TranslateAccelerator(mWindowHandle, mAccelHandle, &msg);
return ret != 0;
}

View file

@ -452,7 +452,7 @@ void Win32WindowManager::_processCmdLineArgs( const S32 argc, const char **argv
{
if (argc > 1)
{
for (int i = 1; i < argc; i++)
for (S32 i = 1; i < argc; i++)
{
if ( dStrnicmp( argv[i], "-window", 7 ) == 0 )
{

View file

@ -283,7 +283,7 @@ static bool _dispatch(HWND hWnd,UINT message,WPARAM wParam,WPARAM lParam)
case WM_LBUTTONDOWN:
case WM_MBUTTONDOWN:
case WM_RBUTTONDOWN: {
int index = (message - WM_LBUTTONDOWN) / 3;
S32 index = (message - WM_LBUTTONDOWN) / 3;
button[index] = true;
// Capture the mouse on button down to allow dragging outside
@ -299,7 +299,7 @@ static bool _dispatch(HWND hWnd,UINT message,WPARAM wParam,WPARAM lParam)
case WM_LBUTTONUP:
case WM_MBUTTONUP:
case WM_RBUTTONUP: {
int index = (message - WM_LBUTTONUP) / 3;
S32 index = (message - WM_LBUTTONUP) / 3;
button[index] = false;
// Release mouse capture from button down.