diff --git a/neo/d3xp/gamesys/SysCmds.cpp b/neo/d3xp/gamesys/SysCmds.cpp index a127455c..6f00fd73 100644 --- a/neo/d3xp/gamesys/SysCmds.cpp +++ b/neo/d3xp/gamesys/SysCmds.cpp @@ -1421,7 +1421,8 @@ PrintFloat */ static void PrintFloat( float f ) { - char buf[128], i; + char buf[128]; + int i; for( i = sprintf( buf, "%3.2f", f ); i < 7; i++ ) {