summaryrefslogtreecommitdiff
path: root/examples/enough.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Avoid shift equal to bits in type (caused endless loop).Mark Adler2012-08-181-18/+21
| | | | | | | | | | | Also clean up comparisons between different types, and some odd indentation problems that showed up somehow. A new endless loop was introduced by the clang compiler, which apparently does odd things when the right operand of << is equal to or greater than the number of bits in the type. The C standard in fact states that the behavior of << is undefined in that case. The loop was rewritten to use single-bit shifts.
* zlib 1.2.3.8v1.2.3.8Mark Adler2011-09-091-8/+8
|
* zlib 1.2.3.4v1.2.3.4Mark Adler2011-09-091-0/+569