shithub: cstory

Download patch

ref: 2a70cbe89a3c2dea944d7d52edf48c62f79827d8
parent: d35c9cd09e2680448e43b36ed2620c461c0bdc84
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun Sep 1 19:42:28 EDT 2019

Shut up a warning

The ASM is unaffected

--- a/src/Main.cpp
+++ b/src/Main.cpp
@@ -64,18 +64,18 @@
 {
 	if (bFps)
 	{
-		const int fps = GetFramePerSecound();
+		const unsigned long fps = GetFramePerSecound();
 		PutNumber4(WINDOW_WIDTH - 40, 8, fps, FALSE);
 	}
 }
 
-int GetFramePerSecound(void)
+unsigned long GetFramePerSecound(void)
 {
-	unsigned int current_tick;
+	unsigned long current_tick;
 	static BOOL need_new_base_tick = TRUE;
-	static int frames_this_second;
-	static int current_frame;
-	static int base_tick;
+	static unsigned long frames_this_second;
+	static unsigned long current_frame;
+	static unsigned long base_tick;
 
 	if (need_new_base_tick)
 	{
--- a/src/Main.h
+++ b/src/Main.h
@@ -6,4 +6,4 @@
 extern BOOL bFullscreen;
 
 void PutFramePerSecound(void);
-int GetFramePerSecound(void);
+unsigned long GetFramePerSecound(void);