From df3d3cd409f7b1b955337ef241bb927c873e9d12 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 1 Dec 2011 04:22:55 +0000 Subject: [PATCH] Fix assertion failure when opening the Jump To dialog on 64-bit linux Originally committed to SVN as r5955. --- aegisub/src/dialog_jumpto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/dialog_jumpto.cpp b/aegisub/src/dialog_jumpto.cpp index 63344d0ed..7153eb37b 100644 --- a/aegisub/src/dialog_jumpto.cpp +++ b/aegisub/src/dialog_jumpto.cpp @@ -69,7 +69,7 @@ DialogJumpTo::DialogJumpTo(agi::Context *c) // Times wxStaticText *LabelFrame = new wxStaticText(this,-1,_("Frame: "),wxDefaultPosition,wxSize(60,20)); wxStaticText *LabelTime = new wxStaticText(this,-1,_("Time: "),wxDefaultPosition,wxSize(60,20)); - JumpFrame = new wxTextCtrl(this,-1,wxString::Format("%i",jumpframe),wxDefaultPosition,wxSize(60,20),wxTE_PROCESS_ENTER, NumValidator()); + JumpFrame = new wxTextCtrl(this,-1,wxString::Format("%ld",jumpframe),wxDefaultPosition,wxSize(60,20),wxTE_PROCESS_ENTER, NumValidator()); JumpFrame->SetMaxLength(maxLength.size()); JumpTime = new TimeEdit(this,-1,jumptime.GetASSFormated(),wxDefaultPosition,wxSize(60,20),wxTE_PROCESS_ENTER); wxSizer *FrameSizer = new wxBoxSizer(wxHORIZONTAL);