Closed
Bug 447848
Opened 18 years ago
Closed 18 years ago
warnings introduced by bug 384244 should be fixed
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: crowderbt, Assigned: crowderbt)
Details
Attachments
(1 obsolete file)
Summary says it all. Patch coming.
| Assignee | ||
Comment 1•18 years ago
|
||
Igor: Can you try this patch to see if it silences the warnings?
Comment 2•18 years ago
|
||
(In reply to comment #1)
> Created an attachment (id=331189) [details]
> needs to be taken for a spin
>
> Igor: Can you try this patch to see if it silences the warnings?
With the patch I got a single warning:
dtoa.c:3210: warning: suggest parentheses around && within ||
Comment 3•18 years ago
|
||
Comment on attachment 331189 [details] [diff] [review]
needs to be taken for a spin
> len = (sizeof(Bigint) + (x-1)*sizeof(ULong) + sizeof(double) - 1)
> /sizeof(double);
>- if (pmem_next - private_mem + len <= PRIVATE_mem) {
>+ if (pmem_next - private_mem + len <= (unsigned int) PRIVATE_mem) {
Here the type of len and the type of the cast should be size_t, not unsigned int, for 64-bit cleanness.
| Assignee | ||
Comment 4•18 years ago
|
||
I have backed out the dtoa patch, so I'll reland with these fixes when it relands, and ask you to test your build again.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
Comment 5•18 years ago
|
||
(In reply to comment #4)
> I have backed out the dtoa patch, so I'll reland with these fixes when it
> relands, and ask you to test your build again.
Sure.
Updated•18 years ago
|
Attachment #331189 -
Attachment is obsolete: true
Attachment #331189 -
Flags: review?(igor)
You need to log in
before you can comment on or make changes to this bug.
Description
•