From b7c927f34915fde9433aba6419c044e8885200cc Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Mon, 19 Oct 2015 10:12:45 +0200 Subject: [PATCH] csync: Fix warning the bit field need to be unsigned --- csync/src/csync_private.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/csync/src/csync_private.h b/csync/src/csync_private.h index 1cd92400d..f201a7017 100644 --- a/csync/src/csync_private.h +++ b/csync/src/csync_private.h @@ -185,11 +185,11 @@ struct csync_file_stat_s { size_t pathlen; /* u64 */ uint64_t inode; /* u64 */ mode_t mode; /* u32 */ - int type : 4; - int child_modified : 1; - int should_update_metadata : 1; /*specify that the etag, or the remote perm or fileid has + unsigned int type : 4; + unsigned int child_modified : 1; + unsigned int should_update_metadata : 1; /*specify that the etag, or the remote perm or fileid has changed and need to be updated on the db even for INSTRUCTION_NONE */ - int has_ignored_files : 1; /* specify that a directory, or child directory contains ignored files */ + unsigned int has_ignored_files : 1; /* specify that a directory, or child directory contains ignored files */ char *destpath; /* for renames */ const char *etag; -- 2.30.2