csync: Fix warning the bit field need to be unsigned

This commit is contained in:
Olivier Goffart 2015-10-19 10:12:45 +02:00
parent 64718fe567
commit b7c927f349

View file

@ -185,11 +185,11 @@ struct csync_file_stat_s {
size_t pathlen; /* u64 */ size_t pathlen; /* u64 */
uint64_t inode; /* u64 */ uint64_t inode; /* u64 */
mode_t mode; /* u32 */ mode_t mode; /* u32 */
int type : 4; unsigned int type : 4;
int child_modified : 1; unsigned int child_modified : 1;
int should_update_metadata : 1; /*specify that the etag, or the remote perm or fileid has 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 */ 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 */ char *destpath; /* for renames */
const char *etag; const char *etag;