Closed
Bug 685820
Opened 13 years ago
Closed 13 years ago
Fix uint64/uint64_t breakage in PluginMessageUtils.h
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla9
People
(Reporter: gaston, Assigned: gaston)
References
Details
Attachments
(1 file)
892 bytes,
patch
|
cjones
:
review+
|
Details | Diff | Splinter Review |
Followup to bug #682759, trunk now fails to build on OpenBSD/amd64 with the following error message :
../../dist/include/mozilla/plugins/PluginMessageUtils.h: In staticmember function 'static bool IPC::ParamTraits<mozilla::plugins::NPRemoteWindow>::Read(const IPC::Message*,void**, mozilla::plugins::NPRemoteWindow*)':
../../dist/include/mozilla/plugins/PluginMessageUtils.h:389: error:invalid conversion from 'uint64_t*' to 'uint64*'
../../dist/include/mozilla/plugins/PluginMessageUtils.h:389: error:initializing argument 2 of 'bool Pickle::ReadUInt64(void**, uint64*) const'
Introduced by that commit : http://hg.mozilla.org/mozilla-central/rev/1bba630bb3a0
This is not the first time it happens, usually it's the other way round (ie using an uint64 where an uint64_t should be used). Discussions about jstypes happened here : https://bugzilla.mozilla.org/show_bug.cgi?id=662852
Assignee | ||
Comment 1•13 years ago
|
||
Attached patch fixes the issue, but i'm not sure at all this is the correct fix.
Attachment #559412 -
Flags: review?(joshmoz)
Assignee | ||
Comment 2•13 years ago
|
||
By 'not sure this is the correct fix' i mean the other types used in that header are legit _t types, so maybe readuint64 proto should be amended/fixed to take a _t type ? or all others uint64_t should be replaced by uint64 (coming from nspr iirc...)
Comment on attachment 559412 [details] [diff] [review]
uses uint64 instead of uint64_t
So long as the end result is a 64-bit unsigned integer on all platforms I don't have a type preference. Lets get Chris Jones to make a decision, he's probably run into this before.
Attachment #559412 -
Flags: review?(joshmoz) → review?(jones.chris.g)
Updated•13 years ago
|
Attachment #559412 -
Flags: review?(jones.chris.g) → review+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → landry
Comment 4•13 years ago
|
||
This is now in my queue of things that are being sent to try then onto inbound :-)
Comment 5•13 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&usebuildbot=1&rev=f07268905b26
https://hg.mozilla.org/integration/mozilla-inbound/rev/2ea7c7953cb8
Target Milestone: --- → mozilla9
Comment 6•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•