gmio_core: fix C4127 warnings in fast_atof.h

This commit is contained in:
Hugues Delorme 2015-03-26 11:47:10 +01:00
parent 00c28e1b44
commit b49357024b

View File

@ -1,8 +1,11 @@
/* Copyright (C) 2002-2012 Nikolaus Gebhardt
* This file is part of the "Irrlicht Engine" and the "irrXML" project.
* For conditions of distribution and use, see copyright notice in irrlicht.h and irrXML.h
* For conditions of distribution and use, see copyright notice in irrlicht.h
* and irrXML.h
*/
/* Adapted to ISO-C90 */
#include "../global.h"
#include <float.h>
@ -160,7 +163,7 @@ GMIO_INLINE uint32_t strtoul16(const char* in, const char** out)
*out = in;
return 0;
}
while (GMIO_TRUE)
for (;;)
{
uint32_t tmp = 0;
if ((*in >= '0') && (*in <= '9'))
@ -204,7 +207,7 @@ GMIO_INLINE uint32_t strtoul8(const char* in, const char** out)
*out = in;
return 0;
}
while (GMIO_TRUE)
for (;;)
{
uint32_t tmp = 0;
if ((*in >= '0') && (*in <= '7'))