Summary: | Fix warnings on non 32 bit platforms | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Zack Rusin <zack> | ||||||
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | ap | ||||||
Priority: | P2 | ||||||||
Version: | 420+ | ||||||||
Hardware: | PC | ||||||||
OS: | Linux | ||||||||
Bug Depends on: | 11508 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
Zack Rusin
2006-11-03 05:25:52 PST
Created attachment 11363 [details]
fix warning by explicitly casting
Comment on attachment 11363 [details]
fix warning by explicitly casting
Looks fine. static_cast would be safer.
Created attachment 11364 [details]
alternative fix
This should fix the issue by eliminating runtime checks.
Comment on attachment 11364 [details]
alternative fix
I think Alexey's fix is better.
r=me
Committed revision 17580. Here's hope that my fix actually helps :-) |