From e65476622db43f7b9c413009072fc9603b8d6ba4 Mon Sep 17 00:00:00 2001 From: Topi Miettinen Date: Thu, 1 Jan 2015 19:40:07 +0200 Subject: Type of mount(2) flags is unsigned long --- src/core/namespace.c | 2 +- src/core/namespace.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/namespace.c b/src/core/namespace.c index 5b408e06ac..4b8dbdd0d8 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -422,7 +422,7 @@ int setup_namespace( bool private_dev, ProtectHome protect_home, ProtectSystem protect_system, - unsigned mount_flags) { + unsigned long mount_flags) { BindMount *m, *mounts = NULL; unsigned n; diff --git a/src/core/namespace.h b/src/core/namespace.h index 1f9d0676b4..42b92e7803 100644 --- a/src/core/namespace.h +++ b/src/core/namespace.h @@ -50,7 +50,7 @@ int setup_namespace(char **read_write_dirs, bool private_dev, ProtectHome protect_home, ProtectSystem protect_system, - unsigned mount_flags); + unsigned long mount_flags); int setup_tmp_dirs(const char *id, char **tmp_dir, -- cgit v1.2.3-54-g00ecf