allow variable arguments in LOG functions to be omitted or empty.
[paraslash.git] / filter.h
index 06d727f5fe79488951d7a539b9bcd735e9fdce17..9956619c94c7bd5a93138270491b9dfdd9bbacec 100644 (file)
--- a/filter.h
+++ b/filter.h
@@ -301,9 +301,9 @@ void *(*parse_config)(int argc, char **argv);
 };
 
 
-static inline void write_int16_host_endian(char *buf, int16_t val)
+static inline void write_int16_host_endian(char *buf, int val)
 {
-#ifndef BIGENDIAN
+#ifdef WORDS_BIGENDIAN
        *buf = val >> 8;
        *(buf + 1) = val & 0xff;
 #else