lib/iec_std_lib.h
changeset 124 4debc565109d
parent 116 f81527b1287b
child 127 ee613c07b9e5
--- a/lib/iec_std_lib.h	Wed Jun 25 18:47:07 2008 +0200
+++ b/lib/iec_std_lib.h	Fri Jun 27 09:29:27 2008 +0200
@@ -97,7 +97,7 @@
 typedef IEC_DT DT;
 typedef IEC_TOD TOD;
 
-#define __TIME_CMP(t1, t2) (t2.tv_sec == t1.tv_sec ? t2.tv_nsec - t1.tv_nsec : t1.tv_sec - t2.tv_sec) 
+#define __TIME_CMP(t1, t2) (t2.tv_sec == t1.tv_sec ? t1.tv_nsec - t2.tv_nsec : t1.tv_sec - t2.tv_sec) 
 extern TIME __CURRENT_TIME;
 
 typedef IEC_STRING STRING;