ref: refs/heads/master
commit 0ce4ff091a256ebe8836ae08b393cb7562b61ecc
Author: Ján Kupec
Date: Sun Jun 7 11:35:51 2009 +0200
got rid of signed/unsigned comparison warning
---
src/Table.cc | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/Table.cc b/src/Table.cc
index f9c3005..e2cf05e 100644
--- a/src/Table.cc
+++ b/src/Table.cc
@@ -79,9 +79,10 @@ void TableRow::dumpTo (ostream &stream, const Table & parent) const
// table is wider than screen
parent._width > parent._screen_width && (
// the next table column would exceed the screen size
- curpos + parent._max_width[c] + (parent._style != none ? 2 : 3) > parent._screen_width ||
+ curpos + (int) parent._max_width[c] + (parent._style != none ? 2 : 3) >
+ parent._screen_width ||
// or the user wishes to first break after the previous column
- parent._force_break_after == c - 1);
+ parent._force_break_after == (int) (c - 1));
if (do_wrap)
{
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org