fix: avoid negative comparison in shift with unsigned value_t
When value_t is unsigned, the guards in lsh() and rsh() can match for shift values that are actually in range, causing these functions to erroneously return 0. Surprisingly this only currently seems visible on FreeBSD using the rsh-and.m test case.
parent
ef6a7200
Please register or sign in to comment