From cddf148028f525be8176e7f1cbbf4f862bd287f6 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 17 Apr 2013 18:23:17 +0200 Subject: fixup 8c68a7017 and cast to (unsigned long) --- src/shared/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shared') diff --git a/src/shared/util.c b/src/shared/util.c index 3a6efe3fce..f59c19df29 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -2779,8 +2779,8 @@ int rm_rf_children_dangerous(int fd, bool only_dirs, bool honour_sticky, struct static int is_temporary_fs(struct statfs *s) { assert(s); - return (unsigned) s->f_type == TMPFS_MAGIC || - (unsigned) s->f_type == RAMFS_MAGIC; + return (unsigned long) s->f_type == TMPFS_MAGIC || + (unsigned long) s->f_type == RAMFS_MAGIC; } int rm_rf_children(int fd, bool only_dirs, bool honour_sticky, struct stat *root_dev) { -- cgit v1.2.3-54-g00ecf