64-bit Windows NPAPI fix, change wParam and lParam types to uintptr_t. b=560298 sr=roc a=#developers
authorJosh Aas <joshmoz@gmail.com>
Sun, 25 Apr 2010 19:55:17 -0400
changeset 41324 b6cb47c9c4b8b10dbae21b3193b3932aa7393805
parent 41323 d80b5c189c0cd42b5370817ce18b8e9b633804b3
child 41325 46a759c839bd2b89cd35c68451e1c3ee7108eb1d
push id12970
push userjosh@mozilla.com
push dateSun, 25 Apr 2010 23:56:47 +0000
treeherdermozilla-central@46a759c839bd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs64, 560298
milestone1.9.3a5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
64-bit Windows NPAPI fix, change wParam and lParam types to uintptr_t. b=560298 sr=roc a=#developers
modules/plugin/base/public/npapi.h
--- a/modules/plugin/base/public/npapi.h
+++ b/modules/plugin/base/public/npapi.h
@@ -473,18 +473,18 @@ typedef struct _NPPrint
 #ifdef XP_MACOSX
 #ifndef NP_NO_CARBON
 typedef EventRecord NPEvent;
 #endif
 #elif defined(XP_WIN)
 typedef struct _NPEvent
 {
   uint16_t event;
-  uint32_t wParam;
-  uint32_t lParam;
+  uintptr_t wParam;
+  uintptr_t lParam;
 } NPEvent;
 #elif defined(XP_OS2)
 typedef struct _NPEvent
 {
   uint32_t event;
   uint32_t wParam;
   uint32_t lParam;
 } NPEvent;