Remove compiler warning in MethodSignature::argcOk

RESOLVED FIXED

Status

Tamarin
Virtual Machine
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: Steven Johnson, Assigned: Steven Johnson)

Tracking

Details

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
When building for GCC 4.4+, some confiurations can issue a warning:

MethodInfo-inlines.h:466: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false
(Assignee)

Comment 1

8 years ago
See also followup bug: https://bugzilla.mozilla.org/show_bug.cgi?id=598436
(Assignee)

Comment 2

8 years ago
Created attachment 477262 [details] [diff] [review]
Patch

Some casting to work around the issue.
Assignee: nobody → stejohns
Attachment #477262 - Flags: review?(edwsmith)

Updated

8 years ago
Attachment #477262 - Flags: review?(edwsmith) → review+
(Assignee)

Comment 3

8 years ago
pushed 5232:a6df8a3024c5
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.