From 4a79e575a0adbce71e0a99d7c0824d73906bf06c Mon Sep 17 00:00:00 2001 From: oy Date: Tue, 11 Jan 2011 00:57:44 +0100 Subject: [PATCH] fixed a compiler warning --- src/engine/shared/console.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/shared/console.h b/src/engine/shared/console.h index 30f53cf71..a276751ae 100644 --- a/src/engine/shared/console.h +++ b/src/engine/shared/console.h @@ -84,7 +84,7 @@ class CConsole : public IConsole mem_copy(m_aStringStorage, Other.m_aStringStorage, sizeof(m_aStringStorage)); m_pArgsStart = Other.m_pArgsStart + Offset; m_pCommand = Other.m_pCommand + Offset; - for(int i = 0; i < Other.m_NumArgs; ++i) + for(unsigned i = 0; i < Other.m_NumArgs; ++i) m_apArgs[i] = Other.m_apArgs[i] + Offset; } return *this;