Silence signed / unsigned comparison warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@28564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
// Purpose: XRC resource for wxStatusBar
|
// Purpose: XRC resource for wxStatusBar
|
||||||
// Author: Brian Ravnsgaard Riis
|
// Author: Brian Ravnsgaard Riis
|
||||||
// Created: 2004/01/21
|
// Created: 2004/01/21
|
||||||
// RCS-ID:
|
// RCS-ID: $Id$
|
||||||
// Copyright: (c) 2004 Brian Ravnsgaard Riis
|
// Copyright: (c) 2004 Brian Ravnsgaard Riis
|
||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
@@ -50,7 +50,7 @@ wxObject *wxStatusBarXmlHandler::DoCreateResource()
|
|||||||
{
|
{
|
||||||
int *width = new int[fields];
|
int *width = new int[fields];
|
||||||
|
|
||||||
for (unsigned int i = 0; i < fields; ++i)
|
for (unsigned int i = 0; i < (unsigned)fields; ++i)
|
||||||
{
|
{
|
||||||
width[i] = wxAtoi(widths.BeforeFirst(wxT(',')));
|
width[i] = wxAtoi(widths.BeforeFirst(wxT(',')));
|
||||||
if(widths.Find(wxT(',')))
|
if(widths.Find(wxT(',')))
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
// Purpose: XRC resource for wxStatusBar
|
// Purpose: XRC resource for wxStatusBar
|
||||||
// Author: Brian Ravnsgaard Riis
|
// Author: Brian Ravnsgaard Riis
|
||||||
// Created: 2004/01/21
|
// Created: 2004/01/21
|
||||||
// RCS-ID:
|
// RCS-ID: $Id$
|
||||||
// Copyright: (c) 2004 Brian Ravnsgaard Riis
|
// Copyright: (c) 2004 Brian Ravnsgaard Riis
|
||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
@@ -50,7 +50,7 @@ wxObject *wxStatusBarXmlHandler::DoCreateResource()
|
|||||||
{
|
{
|
||||||
int *width = new int[fields];
|
int *width = new int[fields];
|
||||||
|
|
||||||
for (unsigned int i = 0; i < fields; ++i)
|
for (unsigned int i = 0; i < (unsigned)fields; ++i)
|
||||||
{
|
{
|
||||||
width[i] = wxAtoi(widths.BeforeFirst(wxT(',')));
|
width[i] = wxAtoi(widths.BeforeFirst(wxT(',')));
|
||||||
if(widths.Find(wxT(',')))
|
if(widths.Find(wxT(',')))
|
||||||
|
Reference in New Issue
Block a user