From 0eddc7c5921966f5bc4d9374d7a09cbf9329bb54 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Fri, 23 Aug 2013 18:25:28 +0200 Subject: [PATCH] Warning removal in some architectures. --- scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scan.c b/scan.c index d88c211d..ff0891d4 100644 --- a/scan.c +++ b/scan.c @@ -678,7 +678,7 @@ static int scan_dir(struct snapraid_scan* scan, struct snapraid_state* state, in #ifndef _WIN32 /* in Unix don't follow mount points in different devices */ /* in Windows we are already skipping them reporting them as special files */ - if (st.st_dev != disk->device) { + if ((uint64_t)st.st_dev != disk->device) { fprintf(stderr, "warning: Ignoring mount point '%s' because it appears to be in a different device\n", path_next); } else #endif