[iortcw] 179/497: MP: Fix compiler warning from last commit

Simon McVittie smcv at debian.org
Fri Sep 8 10:36:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 75fd68086b9d7028edc87f878db95522c157655a
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Wed Aug 13 22:56:12 2014 +0000

    MP: Fix compiler warning from last commit
---
 MP/code/game/g_session.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MP/code/game/g_session.c b/MP/code/game/g_session.c
index 2061bb5..a647ac4 100644
--- a/MP/code/game/g_session.c
+++ b/MP/code/game/g_session.c
@@ -85,7 +85,7 @@ void G_ReadSessionData( gclient_t *client ) {
 	const char  *var;
 	qboolean test;
 
-	var = va( "session%i", client - level.clients );
+	var = va( "session%i", (int)(client - level.clients) );
 	trap_Cvar_VariableStringBuffer( var, s, sizeof( s ) );
 
 	sscanf( s, "%i %i %i %i %i %i %i %i %i %i %i %i %i %i %i",       // DHM - Nerve

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list