Bug 685820 - Fix uint64/uint64_t usage breaking the build on OpenBSD/amd64; r=cjones
authorLandry Breuil <landry@openbsd.org>
Tue, 20 Sep 2011 17:20:51 +0100
changeset 77205 2ea7c7953cb86a2c1e853ee8113ae601aa2bdc1b
parent 77204 89d8b2add33ff2e51a17cea95cecce66e18bf6a1
child 77206 1384ec5bb5423573d94a8f1cc544cb30abfb36a7
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewerscjones
bugs685820
milestone9.0a1
Bug 685820 - Fix uint64/uint64_t usage breaking the build on OpenBSD/amd64; r=cjones
dom/plugins/ipc/PluginMessageUtils.h
--- a/dom/plugins/ipc/PluginMessageUtils.h
+++ b/dom/plugins/ipc/PluginMessageUtils.h
@@ -377,17 +377,17 @@ struct ParamTraits<mozilla::plugins::NPR
 #endif
 #if defined(XP_WIN)
     WriteParam(aMsg, aParam.surfaceHandle);
 #endif
   }
 
   static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
   {
-    uint64_t window;
+    uint64 window;
     int32_t x, y;
     uint32_t width, height;
     NPRect clipRect;
     NPWindowType type;
     if (!(aMsg->ReadUInt64(aIter, &window) &&
           ReadParam(aMsg, aIter, &x) &&
           ReadParam(aMsg, aIter, &y) &&
           ReadParam(aMsg, aIter, &width) &&