Bug 672667 - Fix build bustage on Win64.
authorBen Turner <bent.mozilla@gmail.com>
Mon, 07 May 2012 17:42:09 -0700
changeset 93438 31bc349617c69015dfbd2b6d1a98d57820116469
parent 93437 57deb5170205ec86191ef90d7b4ca1ad1fe7f01e
child 93439 7d96ff6113c75a8aa67c8534f514847fa35ff440
push idunknown
push userunknown
push dateunknown
bugs672667
milestone15.0a1
Bug 672667 - Fix build bustage on Win64.
widget/tests/TestAppShellSteadyState.cpp
--- a/widget/tests/TestAppShellSteadyState.cpp
+++ b/widget/tests/TestAppShellSteadyState.cpp
@@ -274,17 +274,17 @@ public:
 
   }
 #endif
 
   bool
   ScheduleTimer(nsIDOMWindowUtils* aWindowUtils)
   {
 #ifdef XP_WIN
-    UINT_PTR timerId = SetTimer(NULL, 0, 1000, TimerCallback);
+    UINT_PTR timerId = SetTimer(NULL, 0, 1000, (TIMERPROC)TimerCallback);
     if (!timerId) {
       fail("SetTimer failed!");
       return false;
     }
 
     nsCOMPtr<nsIDOMWindowUtils> utils = aWindowUtils;
     utils.forget(&sWindowUtils);