directory: fix warning "comparison between signed and unsigned"
Cast the constant to dev_t, not to unsigned.
This commit is contained in:
parent
546232b1c0
commit
60b4f6b3eb
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user