From 8c606ab4e8762dd6e3c7b3518a5979a190664593 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. --- AppleWin/source/Debug.cpp | 2 +- AppleWin/source/Debugger_Display.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AppleWin/source/Debug.cpp b/AppleWin/source/Debug.cpp index b88d3dd2..fedc5a02 100644 --- a/AppleWin/source/Debug.cpp +++ b/AppleWin/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/AppleWin/source/Debugger_Display.cpp b/AppleWin/source/Debugger_Display.cpp index 7ea3bd26..d2e7d6c9 100644 --- a/AppleWin/source/Debugger_Display.cpp +++ b/AppleWin/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) {