From 8c36a1274b5eef1aac4dc9c73a912f8f52b74ae3 Mon Sep 17 00:00:00 2001 From: evomarc Date: Mon, 27 Dec 2004 07:31:59 +0000 Subject: [PATCH] Fixed some int - unsigned int problem for the case "combien < 0" --- eo/src/utils/eoHowMany.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eo/src/utils/eoHowMany.h b/eo/src/utils/eoHowMany.h index 3f84a9c9..d59321b3 100644 --- a/eo/src/utils/eoHowMany.h +++ b/eo/src/utils/eoHowMany.h @@ -127,9 +127,10 @@ public: } if (combien < 0) { - if (_size+combien<0) + unsigned int combloc = -combien; + if (_size