DEVEL15-windows-talocale-20090401
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 1 Apr 2009 18:36:39 +0000 (18:36 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 1 Apr 2009 18:36:39 +0000 (18:36 +0000)
LICENSE MIT

perform proper casting to avoid a warning

(cherry picked from commit d8a8bfb5c3b49980135b9da26082fa668640ec0f)

src/WINNT/talocale/tal_alloc.cpp

index 1798765..dca6c35 100644 (file)
@@ -1020,7 +1020,7 @@ BOOL CALLBACK MemMgr_DlgProc (HWND hDlg, UINT msg, WPARAM wp, LPARAM lp)
          MemMgr_StoreSettings();
          l.hManager = NULL;
          KillTimer (hDlg, l.idTimer);
-         l.idTimer = -1;
+         l.idTimer = (UINT_PTR)-1;
          break;
 
       case WM_SIZE: