From ee993c741097adb4ca4f0a18b6c7848950a2ffb6 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 2 Jul 2001 10:30:40 +0000 Subject: [PATCH] warning fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/joytest/joytest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/joytest/joytest.cpp b/samples/joytest/joytest.cpp index 7298b2f286..5fe4889958 100644 --- a/samples/joytest/joytest.cpp +++ b/samples/joytest/joytest.cpp @@ -130,9 +130,9 @@ void MyCanvas::OnJoystickEvent(wxJoystickEvent& event) char buf[100]; if (event.ButtonDown()) - sprintf(buf, "Joystick (%ld, %ld) Fire!", pt.x, pt.y); + sprintf(buf, "Joystick (%d, %d) Fire!", pt.x, pt.y); else - sprintf(buf, "Joystick (%ld, %ld)", pt.x, pt.y); + sprintf(buf, "Joystick (%d, %d)", pt.x, pt.y); frame->SetStatusText(buf); #if wxUSE_WAVE