targets/Win32/plc_Win32_main.c
changeset 3947 9b5cb90297e4
parent 3850 722846bd6680
--- a/targets/Win32/plc_Win32_main.c	Fri May 24 18:32:23 2024 +0200
+++ b/targets/Win32/plc_Win32_main.c	Fri May 24 18:47:30 2024 +0200
@@ -146,7 +146,7 @@
     }
     return 0;
 }
-static unsigned long __debug_tick;
+static unsigned int __debug_tick;
 
 int TryEnterDebugSection(void)
 {
@@ -187,7 +187,7 @@
 }
 
 /* from plc_debugger.c */
-int WaitDebugData(unsigned long *tick)
+int WaitDebugData(unsigned int *tick)
 {
 	DWORD res;
 	res = WaitForSingleObject(debug_wait_sem, INFINITE);