Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37704422
en ru br
ALT Linux repos
S:0.52-alt7
5.0: 0.52-alt5
4.1: 0.52-alt3
4.0: 0.52-alt3

Group :: Games/Other
RPM: netris

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: netris-0.52-alt-warnings.patch
Download


diff --git a/netris/curses.c b/netris/curses.c
index 14e9ce4..22171de 100644
--- a/netris/curses.c
+++ b/netris/curses.c
@@ -257,10 +257,10 @@ ExtFunc void PlotUnderline(int scr, int x, int flag)
 ExtFunc void ShowDisplayInfo(void)
 {
 	move(statusYPos - 9, statusXPos);
-	printw("Seed: %d", initSeed);
+	printw("Seed: %ld", initSeed);
 	clrtoeol();
 	move(statusYPos - 8, statusXPos);
-	printw("Speed: %dms", speed / 1000);
+	printw("Speed: %ldms", speed / 1000);
 	clrtoeol();
 	if (robotEnable) {
 		move(statusYPos - 6, statusXPos);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin