From 4ea6c5e9ab51e5e83f7328cd657ba0d9e8fa0cd3 Mon Sep 17 00:00:00 2001 From: Radim Kolar Date: Sat, 6 Jun 2020 11:13:43 +0200 Subject: [PATCH] make protection byte unsigned int instead of char --- include/server_def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/server_def.h b/include/server_def.h index 27c8403..52938b0 100644 --- a/include/server_def.h +++ b/include/server_def.h @@ -72,7 +72,7 @@ typedef struct { typedef struct { char *realname; /* real directory name, full path resolved */ IPrange *owner; /* owners of this directory */ - unsigned char protection; /* directory protection flags */ + unsigned int protection; /* directory protection flags */ char *public_password; /* password for file access */ char *owner_password; /* password for owners */ char *readme; /* readme content */