Mercurial > nand-ecoscentric
diff host/tools/configtool/standalone/wxwin/ecutils.cpp @ 3355:4b1912ce7f4f
* standalone/wxwin/appsettings.cpp,
standalone/wxwin/conflictsdlg.cpp,
standalonw/wxwin/docsystem.cpp,
standalone/wxwin/ecutils.cpp,
standalone/wxwin/packagesdlg.cpp: Silence miscellaneous compiler
warnings with recent GCC. [ Bugzilla 1001951 ]
| author | jld |
|---|---|
| date | Fri, 28 Feb 2014 10:51:15 +0000 |
| parents | 74dbf4c3f2e1 |
| children |
line wrap: on
line diff
--- a/host/tools/configtool/standalone/wxwin/ecutils.cpp +++ b/host/tools/configtool/standalone/wxwin/ecutils.cpp @@ -1,7 +1,7 @@ // ####ECOSHOSTGPLCOPYRIGHTBEGIN#### // ------------------------------------------- // This file is part of the eCos host tools. -// Copyright (C) 1998, 1999, 2000, 2003, 2008 Free Software Foundation, Inc. +// Copyright (C) 1998, 1999, 2000, 2003, 2008, 2014 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -202,7 +202,7 @@ bool ecUtils::StrToItemIntegerType(const const wxString ecUtils::IntToStr(long d,bool bHex) { wxString s; - s.Printf(bHex?wxT("0x%08x"):wxT("%d"),d); + s.Printf(bHex?wxT("0x%08lx"):wxT("%ld"),d); return s; }
