diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index 13ec480911..e89f12a113 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,8 @@ +2002-02-28 Angus Leeming + + * FormForks.C (input_button_all): resolve comparison between signed + and unsigned. + 2002-02-26 Jean-Marc Lasgouttes * Menubar_pimpl.C (makeMenubar): ignore entries which are not diff --git a/src/frontends/xforms/FormForks.C b/src/frontends/xforms/FormForks.C index 54d2727cf5..524c8346cc 100644 --- a/src/frontends/xforms/FormForks.C +++ b/src/frontends/xforms/FormForks.C @@ -317,7 +317,11 @@ ButtonPolicy::SMInput FormForks::input_button_all() ButtonPolicy::SMInput activate = ButtonPolicy::SMI_NOOP; vector const pid_vec = getPIDvector(dialog_->browser_children); - if (fl_get_browser_maxline(dialog_->browser_kill) != pid_vec.size()) { + + // to resolve a warning about comparison between signed and unsigned. + int const pid_vec_size = int(pid_vec.size()); + + if (fl_get_browser_maxline(dialog_->browser_kill) != pid_vec_size) { activate = ButtonPolicy::SMI_VALID; fl_clear_browser(dialog_->browser_kill);