]> git.saurik.com Git - wxWidgets.git/commitdiff
printf() format warning fixed
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 15 Dec 2002 22:25:13 +0000 (22:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 15 Dec 2002 22:25:13 +0000 (22:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/grid.cpp

index 93a01043e0110b7140e1f42768e7d65527f2e2d5..405f72dc0df4b88b50e683de3d7cd0bf60e1dc4e 100644 (file)
@@ -967,7 +967,7 @@ wxString wxGridCellNumberEditor::GetValue() const
 
   if( HasRange() )
   {
-    int value = Spin()->GetValue();
+    long value = Spin()->GetValue();
     s.Printf(wxT("%ld"), value);
   }
   else