From 0baadba7d16fff2f8489ee34f3a5d8480bc184e4 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Mon, 31 Jan 2011 21:13:37 +0000 Subject: [PATCH] Windows doesn't know z in format string --- code/qcommon/cvar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/cvar.c b/code/qcommon/cvar.c index 3558f0f4..d0a90e7e 100644 --- a/code/qcommon/cvar.c +++ b/code/qcommon/cvar.c @@ -1210,7 +1210,7 @@ void Cvar_Update( vmCvar_t *vmCvar ) { } vmCvar->modificationCount = cv->modificationCount; if ( strlen(cv->string)+1 > MAX_CVAR_VALUE_STRING ) - Com_Error( ERR_DROP, "Cvar_Update: src %s length %zd exceeds MAX_CVAR_VALUE_STRING", + Com_Error( ERR_DROP, "Cvar_Update: src %s length %d exceeds MAX_CVAR_VALUE_STRING", cv->string, strlen(cv->string)); Q_strncpyz( vmCvar->string, cv->string, MAX_CVAR_VALUE_STRING );