fixed warning during compile about endian.c
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -79,7 +79,7 @@ PyObject *chunk_render(PyObject *self, PyObject *args);
|
||||
#include "rendermodes.h"
|
||||
|
||||
/* in endian.c */
|
||||
void init_endian();
|
||||
void init_endian(void);
|
||||
unsigned short big_endian_ushort(unsigned short in);
|
||||
unsigned int big_endian_uint(unsigned int in);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user