Merge pull request #71 from abergmeier/fix_array_access

Fix accessing array in PrintFloat by char instead of int.
This commit is contained in:
Robert Beckebans 2014-02-18 10:03:28 +01:00
commit 3d1d78e528

View file

@ -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++ )
{