0

fixed warning during compile about endian.c

This commit is contained in:
Aaron Griffith
2011-03-29 04:46:40 -04:00
parent d7af3d437b
commit 862ee62cb9
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@
static int endianness = UNKNOWN_ENDIAN;
void init_endian() {
void init_endian(void) {
/* figure out what our endianness is! */
short word = 0x0001;
char* byte = (char*)(&word);