#1085 closed defect (fixed)
[PATCH] It's odd that the argument of sizeof() operator is &freqMhz
Reported by: | Echelon9 | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 9 |
Component: | Core engine | Keywords: | pointers |
Cc: | Patch: |
Description
Using the reference operator (&) is going to return the size of the pointer from sizeof(), rather than the size of the object.
Should be using the dereference operator (*).
Attachments (1)
Change History (3)
by , 12 years ago
Attachment: | t1085_wcpu-pointer-fix.patch added |
---|
comment:1 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 12 years ago
Keywords: | review removed |
---|
Note:
See TracTickets
for help on using tickets.
Proposed fix for wcpu pointer handling