make protection byte unsigned int instead of char

This commit is contained in:
Radim Kolar 2020-06-06 11:13:43 +02:00
parent 9e3fe1e0a7
commit 4ea6c5e9ab

View File

@ -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 */