diff options
author | Dan McGee <dan@archlinux.org> | 2012-09-19 04:34:07 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2012-11-27 06:16:15 +0100 |
commit | 1d0ab50c050bbb52968b55293fd12c22e4fe1482 (patch) | |
tree | 334b51166677612c0dc30fb40a262abf70a34223 /src | |
parent | b57ada336bae086a3e4c8acfc3f2fe02deeff037 (diff) | |
download | pacman-1d0ab50c050bbb52968b55293fd12c22e4fe1482.tar.gz pacman-1d0ab50c050bbb52968b55293fd12c22e4fe1482.tar.xz |
Fix thinko in configure.ac CFLAGS empty checking
Since commit d2669b47, CFLAGS specified on the command line haven't been
respected at all, resulting in no optimization being applied to builds.
This exposed one warning flag issue in some new code, which is also
fixed here.
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/query.c b/src/pacman/query.c index fc2c90c4..398adac4 100644 --- a/src/pacman/query.c +++ b/src/pacman/query.c @@ -134,7 +134,7 @@ static int query_fileowner(alpm_list_t *targets) struct stat buf; alpm_list_t *i; size_t len; - int found = 0; + unsigned int found = 0; if((filename = strdup(t->data)) == NULL) { goto targcleanup; |