missed one update in KeepAliveProc *p should be volatile

This commit is contained in:
dprice%netscape.com 2001-05-02 23:34:22 +00:00
parent b2ca00a62d
commit 7db29ef780

View File

@ -627,8 +627,7 @@ VOID CALLBACK KeepAliveTimerProc(HWND hwnd, UINT uMsg, UINT idEvent, DWORD dwTim
while(count<kMaxSteps) {
//should these be marked volatile?
long *p=(long*)gFuncTable[theCurrentModule][theCurrentProc];
volatile long *p=(long*)gFuncTable[theCurrentModule][theCurrentProc];
if (p) {
count++;
if (*p && p){