Got rid of a cast to float which was causing a warning. (Used a temp
var instead) return (float)atof(something); is now float x=atof(something); return x; There is still another one(warning)in this file but hey its a start. Kent
This commit is contained in:
parent
0a4a186c2e
commit
6f195f084c
|
@ -141,7 +141,7 @@ public:
|
|||
inline operator const char *() const { return pData; }
|
||||
inline char *Ptr() { return pData; }
|
||||
inline const char *ReadPtr() const { return pData; }
|
||||
inline float ToFloat() const { return (float) atof(pData); }
|
||||
inline float ToFloat() const { float x=atof(pData); return x; }
|
||||
inline int ToInt() const { return atoi(pData); }
|
||||
|
||||
// Operators
|
||||
|
|
Loading…
Reference in New Issue