Mercurial > ecos-v3_0-branch
diff host/tools/Utils/win32/CTUtils.cpp @ 82:6736c52df507 ecos-sw-2000-04-14
Merge from eCos master repository on 2000-04-14-13:35:46-BST
| author | jlarmour |
|---|---|
| date | Tue, 18 Apr 2000 21:51:55 +0000 |
| parents | 435cced73e2f |
| children | 74dbf4c3f2e1 |
line wrap: on
line diff
--- a/host/tools/Utils/win32/CTUtils.cpp +++ b/host/tools/Utils/win32/CTUtils.cpp @@ -163,16 +163,16 @@ BOOL CUtils::StrToItemIntegerType(const const CString CUtils::IntToStr(__int64 d,bool bHex) { - CString str; - str.Format(bHex?_T("0x%08x"):_T("%d"),d); - return str; + CString s; + s.Format(bHex?_T("0x%08x"):_T("%d"),d); + return s; } const CString CUtils::DoubleToStr (double dValue) { - CString strValue; - strValue.Format (_T("%.*e"), DBL_DIG, dValue); - return strValue; + CString s; + s.Format (_T("%.*e"), DBL_DIG, dValue); + return s; } BOOL CUtils::StrToDouble (const CString & strValue, double &dValue)
