gmio_core: fix C4127 warnings in fast_atof.h
This commit is contained in:
parent
00c28e1b44
commit
b49357024b
@ -1,8 +1,11 @@
|
|||||||
/* Copyright (C) 2002-2012 Nikolaus Gebhardt
|
/* Copyright (C) 2002-2012 Nikolaus Gebhardt
|
||||||
* This file is part of the "Irrlicht Engine" and the "irrXML" project.
|
* 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 "../global.h"
|
||||||
|
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
@ -160,7 +163,7 @@ GMIO_INLINE uint32_t strtoul16(const char* in, const char** out)
|
|||||||
*out = in;
|
*out = in;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
while (GMIO_TRUE)
|
for (;;)
|
||||||
{
|
{
|
||||||
uint32_t tmp = 0;
|
uint32_t tmp = 0;
|
||||||
if ((*in >= '0') && (*in <= '9'))
|
if ((*in >= '0') && (*in <= '9'))
|
||||||
@ -204,7 +207,7 @@ GMIO_INLINE uint32_t strtoul8(const char* in, const char** out)
|
|||||||
*out = in;
|
*out = in;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
while (GMIO_TRUE)
|
for (;;)
|
||||||
{
|
{
|
||||||
uint32_t tmp = 0;
|
uint32_t tmp = 0;
|
||||||
if ((*in >= '0') && (*in <= '7'))
|
if ((*in >= '0') && (*in <= '7'))
|
||||||
|
Loading…
Reference in New Issue
Block a user