diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2015-09-05 17:45:55 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2015-09-05 17:45:55 -0700 |
commit | e54e1299404101a5a9d0cf5e45512b543967f958 (patch) | |
tree | b7e6413290d34be2215d8e447afae33a4baf303b /zutil.c | |
parent | 27ef026603319decd1b3d4d92a5d3bf21dcc2db5 (diff) | |
download | zlib-e54e1299404101a5a9d0cf5e45512b543967f958.tar.gz zlib-e54e1299404101a5a9d0cf5e45512b543967f958.tar.bz2 zlib-e54e1299404101a5a9d0cf5e45512b543967f958.zip |
Avoid shifts of negative values inflateMark().
The C standard says that bit shifts of negative integers is
undefined. This casts to unsigned values to assure a known
result.
Diffstat (limited to 'zutil.c')
0 files changed, 0 insertions, 0 deletions