diff --git a/samples/exec/exec.cpp b/samples/exec/exec.cpp index 14a5ab2d2c..d11a4ac917 100644 --- a/samples/exec/exec.cpp +++ b/samples/exec/exec.cpp @@ -376,7 +376,8 @@ void MyFrame::OnKill(wxCommandEvent& WXUNUSED(event)) _T("Enter PID:"), _T("Exec question"), m_pidLast, - 1, INT_MAX, + // we need the full unsigned int range + -INT_MAX, INT_MAX, this); if ( pid == -1 ) {