Disable compiling warnings on Windows
authorlbessard
Tue, 20 Jan 2009 15:06:13 +0100
changeset 170 e10fbd3707df
parent 169 bea932bc60b0
child 171 59f5197b088a
Disable compiling warnings on Windows
lib/iec_types.h
--- a/lib/iec_types.h	Mon Jan 19 17:06:22 2009 +0100
+++ b/lib/iec_types.h	Tue Jan 20 15:06:13 2009 +0100
@@ -48,7 +48,7 @@
 typedef struct timespec IEC_TOD;
 
 #ifndef STR_MAX_LEN
-#define STR_MAX_LEN 127
+#define STR_MAX_LEN 126
 #endif
 
 #ifndef STR_LEN_TYPE