Closed
Bug 920391
Opened 12 years ago
Closed 12 years ago
B2G RIL: Buf.read/writeUint32 should be of signed int32 operation.
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: allstars.chh, Assigned: allstars.chh)
Details
Attachments
(1 file, 1 obsolete file)
|
126.16 KB,
patch
|
allstars.chh
:
review+
|
Details | Diff | Splinter Review |
The returned value from Buf.readUint32 should be signed,
Per ECMA-262 Edition 5, clause 11.7.1 The Left Shift operator , point 8
The result is a signed 32-bit integer.
So we should rename readUint32 to readInt32, same for write and readUint32List.
| Assignee | ||
Updated•12 years ago
|
Summary: B2G RIL: Buf.read/writeUint32 should be signed int32 operation. → B2G RIL: Buf.read/writeUint32 should be of signed int32 operation.
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → allstars.chh
| Assignee | ||
Comment 1•12 years ago
|
||
| Assignee | ||
Updated•12 years ago
|
Attachment #810337 -
Flags: review?(vyang)
Comment 2•12 years ago
|
||
Just had a quick scan, wow! Will feedback later.
Updated•12 years ago
|
Attachment #810337 -
Flags: review?(vyang) → review+
| Assignee | ||
Comment 3•12 years ago
|
||
covert to hg format.
Attachment #810337 -
Attachment is obsolete: true
Attachment #810410 -
Flags: review+
| Assignee | ||
Comment 4•12 years ago
|
||
| Assignee | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•