7a22215c53
shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
||
---|---|---|
.. | ||
arm_init.S | ||
at91rm9200_lowlevel.c | ||
at91rm9200_lowlevel.h | ||
at91rm9200.h | ||
delay.c | ||
eeprom.c | ||
emac_init.c | ||
emac.c | ||
emac.h | ||
getc.c | ||
lib_AT91RM9200.h | ||
lib.h | ||
Makefile | ||
mci_device.h | ||
memcmp.c | ||
memcpy.c | ||
memset.c | ||
p_string.c | ||
printf.c | ||
putchar.c | ||
reset.c | ||
sd-card.c | ||
sd-card.h | ||
spi_flash.c | ||
spi_flash.h | ||
strcmp.c | ||
strcpy.c | ||
strcvt.c | ||
strlen.c | ||
tag_list.c | ||
tag_list.h | ||
xmodem.c |