diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/pacman/query.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 7fe696a9..2d7580ea 100644 --- a/configure.ac +++ b/configure.ac @@ -67,7 +67,7 @@ LIB_VERSION=`expr lib_current - lib_age`.lib_age.lib_revision LIB_VERSION_INFO="lib_current:lib_revision:lib_age" # Respect empty CFLAGS during compiler tests -if test "x$CFLAGS" != "x"; then +if test "x$CFLAGS" = "x"; then CFLAGS="" fi 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; |