From f3e37c21e799cda7a61e436996e05b2a895b2171 Mon Sep 17 00:00:00 2001 From: tearex Date: Thu, 14 Sep 2006 20:11:38 +0000 Subject: [PATCH] Added missing "int" in two cases, wanted by VC++ 2005. --- source/Debug.cpp | 2 +- source/Debugger_Display.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/Debug.cpp b/source/Debug.cpp index b88d3dd2..fedc5a02 100644 --- a/source/Debug.cpp +++ b/source/Debug.cpp @@ -9210,7 +9210,7 @@ void DebuggerCursorUpdate() if (g_nAppMode != MODE_DEBUG) return; - const nUpdatesPerSecond = 4; + const int nUpdatesPerSecond = 4; const DWORD nHz = 1000 / nUpdatesPerSecond; static DWORD nBeg = GetTickCount(); // timeGetTime(); DWORD nNow = GetTickCount(); // timeGetTime(); diff --git a/source/Debugger_Display.cpp b/source/Debugger_Display.cpp index 7ea3bd26..d2e7d6c9 100644 --- a/source/Debugger_Display.cpp +++ b/source/Debugger_Display.cpp @@ -2580,7 +2580,7 @@ void DrawZeroPagePointers ( int line ) DebuggerSetColorBG( DebuggerGetColor( WATCH_ZERO_BG )); // BG_INFO - const nMaxSymbolLen = 7; + const int nMaxSymbolLen = 7; char sText[nMaxSymbolLen+1] = ""; for(int iZP = 0; iZP < MAX_ZEROPAGE_POINTERS; iZP++) @@ -3132,7 +3132,7 @@ void DrawWindowBackground_Info( int g_iWindowThis ) //=========================================================================== void UpdateDisplay (Update_t bUpdate) { - static spDrawMutex = false; + static int spDrawMutex = false; if (spDrawMutex) {