aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-09-23 08:59:04 +0200
committerMax Kellermann <max@duempel.org>2010-09-23 09:01:25 +0200
commit64209749fb477791be66cc4a1b7130f9d48b74b3 (patch)
tree5015ea281e912ca19ff200233546dc8f08ba605c
parent586b7601c6f8df725f455ae3d02107f5e896e545 (diff)
downloadmpd-64209749fb477791be66cc4a1b7130f9d48b74b3.tar.gz
mpd-64209749fb477791be66cc4a1b7130f9d48b74b3.tar.xz
mpd-64209749fb477791be66cc4a1b7130f9d48b74b3.zip
directory: cast DEVICE_INARCHIVE, DEVICE_CONTAINER to dev_t
Fix gcc warning.
Diffstat (limited to '')
-rw-r--r--src/directory.h4
1 files 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;