Bug 1124029 - Fix printf type warning on AccessibleWrap. r=davidb
authorXidorn Quan <quanxunzhen@gmail.com>
Tue, 27 Jan 2015 08:37:38 +1100
changeset 239205 adbc9eec0490b4739179f3888d5debe1d221e678
parent 239204 392964f0fc66d00c0974f99d1fd2b3afc9a428cb
child 239206 47834f1829b9e662995afaf331cc79a3cb6c6cda
push id489
push usermcmanus@ducksong.com
push dateTue, 27 Jan 2015 01:44:53 +0000
reviewersdavidb
bugs1124029
milestone38.0a1
Bug 1124029 - Fix printf type warning on AccessibleWrap. r=davidb
accessible/windows/msaa/AccessibleWrap.cpp
--- a/accessible/windows/msaa/AccessibleWrap.cpp
+++ b/accessible/windows/msaa/AccessibleWrap.cpp
@@ -1136,17 +1136,17 @@ AccessibleWrap::HandleAccEvent(AccEvent*
     cnt->Tag()->ToString(tag);
     nsIAtom* aid = cnt->GetID();
     if (aid)
       aid->ToUTF8String(id);
   }
 
 #ifdef A11Y_LOG
   if (logging::IsEnabled(logging::ePlatforms)) {
-    printf("\n\nMSAA event: event: %d, target: %s@id='%s', childid: %d, hwnd: %d\n\n",
+    printf("\n\nMSAA event: event: %d, target: %s@id='%s', childid: %d, hwnd: %p\n\n",
            eventType, NS_ConvertUTF16toUTF8(tag).get(), id.get(),
            childID, hWnd);
   }
 #endif
 
   // Fire MSAA event for client area window.
   ::NotifyWinEvent(winEvent, hWnd, OBJID_CLIENT, childID);