diff options
author | 2012-08-13 22:23:35 +0000 | |
---|---|---|
committer | 2012-08-13 22:23:35 +0000 | |
commit | 2f4144495ecc7607e8f9e4ad664fcf30c52f5ef1 (patch) | |
tree | 9208e0bb15f2cae9d4bfbd13b2a8f6e749da07e0 /qgrep.c | |
parent | Fix qlist test cases for showdebug support. (diff) | |
download | portage-utils-2f4144495ecc7607e8f9e4ad664fcf30c52f5ef1.tar.gz portage-utils-2f4144495ecc7607e8f9e4ad664fcf30c52f5ef1.tar.bz2 portage-utils-2f4144495ecc7607e8f9e4ad664fcf30c52f5ef1.zip |
Fix compiler warnings for signedness.v0.11
Diffstat (limited to 'qgrep.c')
-rw-r--r-- | qgrep.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* * Copyright 2005-2010 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/portage-utils/qgrep.c,v 1.30 2011/10/03 01:25:54 vapier Exp $ + * $Header: /var/cvsroot/gentoo-projects/portage-utils/qgrep.c,v 1.31 2012/08/13 22:23:35 robbat2 Exp $ * * Copyright 2005-2010 Ned Ludd - <solar@gentoo.org> * Copyright 2005-2010 Mike Frysinger - <vapier@gentoo.org> @@ -47,7 +47,7 @@ static const char * const qgrep_opts_help[] = { "Print <arg> lines of trailing context", COMMON_OPTS_HELP }; -static const char qgrep_rcsid[] = "$Id: qgrep.c,v 1.30 2011/10/03 01:25:54 vapier Exp $"; +static const char qgrep_rcsid[] = "$Id: qgrep.c,v 1.31 2012/08/13 22:23:35 robbat2 Exp $"; #define qgrep_usage(ret) usage(ret, QGREP_FLAGS, qgrep_long_opts, qgrep_opts_help, lookup_applet_idx("qgrep")) char qgrep_name_match(const char*, const int, depend_atom**); @@ -444,7 +444,7 @@ int qgrep_main(int argc, char **argv) continue; if ((newfp = fopen(ebuild, "r")) != NULL) { - unsigned int lineno = 0; + int lineno = 0; char remaining_after_context = 0; count = 0; /* if there have been some matches already, then a separator will be needed */ |