From 64209749fb477791be66cc4a1b7130f9d48b74b3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 23 Sep 2010 08:59:04 +0200 Subject: [PATCH] directory: cast DEVICE_INARCHIVE, DEVICE_CONTAINER to dev_t Fix gcc warning. --- src/directory.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/directory.h b/src/directory.h index 4f7470a22..dde741a71 100644 --- a/src/directory.h +++ b/src/directory.h @@ -30,8 +30,8 @@ #define DIRECTORY_DIR "directory: " -#define DEVICE_INARCHIVE (unsigned)(-1) -#define DEVICE_CONTAINER (unsigned)(-2) +#define DEVICE_INARCHIVE (dev_t)(-1) +#define DEVICE_CONTAINER (dev_t)(-2) struct directory { struct dirvec children;