Commit 60b4f6b3 authored by Max Kellermann's avatar Max Kellermann

directory: fix warning "comparison between signed and unsigned"

Cast the constant to dev_t, not to unsigned.
parent 546232b1
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
#define DIRECTORY_DIR "directory: " #define DIRECTORY_DIR "directory: "
#define DEVICE_INARCHIVE (unsigned)(-1) #define DEVICE_INARCHIVE (dev_t)(-1)
#define DEVICE_CONTAINER (unsigned)(-2) #define DEVICE_CONTAINER (dev_t)(-2)
struct directory { struct directory {
struct dirvec children; struct dirvec children;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment