Mailinglist Archive: zypp-commit (171 mails)

< Previous Next >
[zypp-commit] <zypper> master : got rid of signed/unsigned comparison warning
  • From: Ján Kupec <jkupec@xxxxxxx>
  • Date: Sun, 7 Jun 2009 11:35:51 +0200
  • Message-id: <E1MDcA5-0007Ad-Bu@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit 0ce4ff091a256ebe8836ae08b393cb7562b61ecc
Author: Ján Kupec <jkupec@xxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages