[Pkg-owncloud-commits] [owncloud-client] 07/21: csync: Fix warning the bit field need to be unsigned

Sandro Knauß hefee-guest at moszumanska.debian.org
Fri Oct 23 17:42:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit b7c927f34915fde9433aba6419c044e8885200cc
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Mon Oct 19 10:12:45 2015 +0200

    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 1cd9240..f201a70 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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list