From 1d0ab50c050bbb52968b55293fd12c22e4fe1482 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 18 Sep 2012 21:34:07 -0500 Subject: 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 Signed-off-by: Allan McRae --- src/pacman/query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pacman') 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; -- cgit v1.2.3-70-g09d2