summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/query.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pacman/query.c b/src/pacman/query.c
index 4a37a338..91ca78a7 100644
--- a/src/pacman/query.c
+++ b/src/pacman/query.c
@@ -158,8 +158,9 @@ static int query_fileowner(alpm_list_t *targets)
char rpath[PATH_MAX], *rel_path;
struct stat buf;
alpm_list_t *i;
- size_t len, is_dir;
+ size_t len;
unsigned int found = 0;
+ int is_dir;
if((filename = strdup(t->data)) == NULL) {
goto targcleanup;