View | Details | Raw Unified | Return to bug 208489
Collapse All | Expand All

(-)audio/milkytracker/files/patch-src__tracker__TrackerStartUp.cpp (+20 lines)
Line 0 Link Here
1
--- src/tracker/TrackerStartUp.cpp.orig	2013-11-09 01:12:01.000000000 +0100
2
+++ src/tracker/TrackerStartUp.cpp	2016-04-03 21:14:18.976681000 +0200
3
@@ -126,7 +126,7 @@ void Tracker::showSplash()
4
 		screen->paintSplash(LogoBig::rawData, LogoBig::width, LogoBig::height, LogoBig::width*3, 3, (int)shade); 		
5
 #endif
6
 		shade+=deltaT * (1.0f/6.25f);
7
-		deltaT = abs(::PPGetTickCount() - startTime);
8
+		deltaT = abs((pp_int32)::PPGetTickCount() - startTime);
9
 		if (!deltaT) deltaT++;
10
 	}
11
 #if defined(__EXCLUDE_BIGLOGO__) || defined(__LOWRES__)
12
@@ -157,7 +157,7 @@ void Tracker::hideSplash()
13
 		screen->paintSplash(LogoBig::rawData, LogoBig::width, LogoBig::height, LogoBig::width*3, 3, (int)shade); 		
14
 #endif
15
 		shade-=deltaT * (1.0f/6.25f);
16
-		deltaT = abs(::PPGetTickCount() - startTime);
17
+		deltaT = abs((pp_int32)::PPGetTickCount() - startTime);
18
 		if (!deltaT) deltaT++;
19
 	}
20
 	screen->clear(); 	

Return to bug 208489