directory: cast DEVICE_INARCHIVE, DEVICE_CONTAINER to dev_t

Fix gcc warning.
This commit is contained in:
Max Kellermann 2010-09-23 08:59:04 +02:00
parent 586b7601c6
commit 64209749fb

View File

@ -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;