summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>2009-02-14 22:30:13 -0500
committerKarolin Seeger <kseeger@samba.org>2009-02-16 09:57:06 +0100
commit24f43e6f53ef178644adff2d5d35a2e47d018a6e (patch)
treeca6548de640762eb415bea1f69b53f0a4071b99a
parent0fb825fa1505a08865bca4810a5d59847bc147a6 (diff)
downloadsamba-24f43e6f53ef178644adff2d5d35a2e47d018a6e.tar.gz
enums are traditionally signed. Avoid use of high bit in bit flags.
(cherry picked from commit 480054f3625fcd4532a4cdc68bd750e93610d89f)
-rw-r--r--source/include/libsmbclient.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/include/libsmbclient.h b/source/include/libsmbclient.h
index 67010a5bfe5..a3a5d70c211 100644
--- a/source/include/libsmbclient.h
+++ b/source/include/libsmbclient.h
@@ -185,9 +185,9 @@ typedef enum smbc_vfs_feature
SMBC_VFS_FEATURE_RDONLY = (1 << 0),
/* Specific to libsmbclient (high-order bits) */
- SMBC_VFS_FEATURE_DFS = (1 << 29),
- SMBC_VFS_FEATURE_CASE_INSENSITIVE = (1 << 30),
- SMBC_VFS_FEATURE_NO_UNIXCIFS = (1 << 31)
+ SMBC_VFS_FEATURE_DFS = (1 << 28),
+ SMBC_VFS_FEATURE_CASE_INSENSITIVE = (1 << 29),
+ SMBC_VFS_FEATURE_NO_UNIXCIFS = (1 << 30)
} smbc_vfs_feature;
typedef int smbc_bool;