From 886ec56a730a0fec67aca27ed20934c02c9f140b Mon Sep 17 00:00:00 2001 From: Zhi Zhang Date: Wed, 2 May 2018 12:45:18 +0800 Subject: [PATCH] client: change vxattr flags field to unsigned int We use bit to define vxattr flags, so it should be unsigned. Change vxattr flags to be unsigned int for the consideration of more room to define other flags. Signed-off-by: Zhi Zhang --- src/client/Client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/Client.h b/src/client/Client.h index 785efa7a60d..b0b8cfc24fa 100644 --- a/src/client/Client.h +++ b/src/client/Client.h @@ -885,7 +885,7 @@ private: size_t (Client::*getxattr_cb)(Inode *in, char *val, size_t size); bool readonly, hidden; bool (Client::*exists_cb)(Inode *in); - int flags; + unsigned int flags; }; /* Flags for VXattr */ -- 2.39.5