targets/Win32/plc_Win32_main.c
changeset 518 8e61b0066859
parent 484 3d0c06e2648c
child 521 02cb9e5fb6f6
--- a/targets/Win32/plc_Win32_main.c	Tue Dec 15 14:40:45 2009 +0100
+++ b/targets/Win32/plc_Win32_main.c	Tue Dec 15 15:35:02 2009 +0100
@@ -8,7 +8,7 @@
 #include <windows.h>
 
 /* provided by POUS.C */
-extern unsigned long common_ticktime__;
+extern unsigned long long common_ticktime__;
 
 long AtomicCompareExchange(long* atomicvar, long compared, long exchange)
 {
@@ -31,7 +31,7 @@
 }
 
 HANDLE PLC_timer = NULL;
-void PLC_SetTimer(long long next, long long period)
+void PLC_SetTimer(unsigned long long next, unsigned long long period)
 {
 	LARGE_INTEGER liDueTime;
 	/* arg 2 of SetWaitableTimer take 100 ns interval*/