Closed Bug 825079 Opened 12 years ago Closed 12 years ago

Remove -Wint-to-pointer-cast warnings in nsBaseWidget.cpp

Categories

(Core :: Widget, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: n.nethercote, Assigned: n.nethercote)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

clang 3.2. warns: widget/xpwidgets/nsBaseWidget.cpp:1642:11 [-Wint-to-pointer-cast] cast to 'void *' from smaller integer type 'int32_t' (aka 'int') widget/xpwidgets/nsBaseWidget.cpp:1666:11 [-Wint-to-pointer-cast] cast to 'void *' from smaller integer type 'int32_t' (aka 'int') widget/xpwidgets/nsBaseWidget.cpp:1691:11 [-Wint-to-pointer-cast] cast to 'void *' from smaller integer type 'int32_t' (aka 'int')
This patch fixes the warnings.
Attachment #696144 - Flags: review?(roc)
Some whitespace housekeeping, while I'm in the neighbourhood.
Attachment #696146 - Flags: review?(roc)
Attachment #696144 - Attachment is obsolete: true
Attachment #696144 - Flags: review?(roc)
Oh, I accidentally combined the two files, and I'm too lazy to uncombine them. Sorry.
Blocks: buildwarning
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: