Unsigned/signed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3606 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-02-28 12:02:50 +00:00
parent 3c599a8c2a
commit 58ad553455
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
* FormForks.C (input_button_all): resolve comparison between signed
and unsigned.
2002-02-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* Menubar_pimpl.C (makeMenubar): ignore entries which are not

View File

@ -317,7 +317,11 @@ ButtonPolicy::SMInput FormForks::input_button_all()
ButtonPolicy::SMInput activate = ButtonPolicy::SMI_NOOP;
vector<string> 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);