diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-01-06 19:36:09 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-01-06 19:36:09 -0800 |
commit | 5983e14cf97bd1302151ffc3dbc53451acdc87e9 (patch) | |
tree | e5fcbda298bbfe450a19a719e91c9699e6872b4d /ChangeLog-2009-2015 | |
parent | b32043cb5be32d07521a354808bef6649550ea83 (diff) | |
download | txr-5983e14cf97bd1302151ffc3dbc53451acdc87e9.tar.gz txr-5983e14cf97bd1302151ffc3dbc53451acdc87e9.tar.bz2 txr-5983e14cf97bd1302151ffc3dbc53451acdc87e9.zip |
num_ex: eliminate ill-considered cast.
* lib.h (num_ex): Remove the cast to ucnum, which will cause
this macro to misbehave for negative arguments. For instance,
-1 > (ucnum) INT_PTR_MAX will compare as true! The -1 gets
converted to the unsigned type and becomes UINT_PTR_MAX.
Diffstat (limited to 'ChangeLog-2009-2015')
0 files changed, 0 insertions, 0 deletions