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:
Kent Mein 2004-03-06 17:04:52 +00:00
parent 0a4a186c2e
commit 6f195f084c
1 changed files with 1 additions and 1 deletions

View File

@ -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