Re: libs/wpp/ppy.y signedness fixes
23 Jul
2008
23 Jul
'08
8:26 a.m.
Gerald Pfeifer <gerald(a)pfeifer.com> writes:
In ISO C, operations involving both signed and unsigned types are using signed. If the case of ui = ui OP si is really ment to make use of this (despite the result being stored in an unsigned type), we'd need to handle this via two casts, but I doubt this is really the intent here.
It's supposed to follow the C rules, so yes the result most likely needs to be signed in this case. That doesn't mean using two casts, it means using the correct output type. -- Alexandre Julliard julliard(a)winehq.org
6352
Age (days ago)
6352
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard