From: Vadim Zeitlin Date: Sun, 15 Dec 2002 22:25:13 +0000 (+0000) Subject: printf() format warning fixed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/14ac4f3c548f32d9bd461734a30c1e0787c7cc06 printf() format warning fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 93a01043e0..405f72dc0d 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -967,7 +967,7 @@ wxString wxGridCellNumberEditor::GetValue() const if( HasRange() ) { - int value = Spin()->GetValue(); + long value = Spin()->GetValue(); s.Printf(wxT("%ld"), value); } else