* memchr.c (memchr): Do the 32-bit assignment only if !LONG_64_BITS.
authorJim Meyering <jim@meyering.net>
Thu, 21 Oct 1993 00:10:34 +0000 (00:10 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 21 Oct 1993 00:10:34 +0000 (00:10 +0000)
commitbe12cc04b38ea7feb8c569a18e32c626cd3b98b0
treec9b4813c6bdcd0f626bc713abbda99b6b703bba8
parent6b9607c0590a93ecbd2827492adf3fd3834e8f03
* memchr.c (memchr): Do the 32-bit assignment only if !LONG_64_BITS.
In the 64-bit assignment, be careful to cast the shift operand to
long.
Abort if sizeof (unsigned long) > 8.
lib/memchr.c