summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2003-08-15 17:15:05 +0000
committerHerb Lewis <herb@samba.org>2003-08-15 17:15:05 +0000
commit3ae6d32e5e8c84f9fd282940d5affe119ea52a97 (patch)
tree74d9c15eb3e668bfbef01d9952b8a41fc84cb35e /source4
parente2c1250076060faca37b5b3d76902d6c24c2f3fd (diff)
downloadsamba-3ae6d32e5e8c84f9fd282940d5affe119ea52a97.tar.gz
samba-3ae6d32e5e8c84f9fd282940d5affe119ea52a97.tar.bz2
samba-3ae6d32e5e8c84f9fd282940d5affe119ea52a97.zip
signed bitfields cannot be 1 bit long
(This used to be commit 5fce80e7575e6c4d5df46d02d9505f56a93511c4)
Diffstat (limited to 'source4')
-rw-r--r--source4/include/cli_context.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/include/cli_context.h b/source4/include/cli_context.h
index 6e2da7b7f5..e74262fa81 100644
--- a/source4/include/cli_context.h
+++ b/source4/include/cli_context.h
@@ -62,8 +62,8 @@ struct cli_negotiate {
int server_zone;
time_t server_time;
- int readbraw_supported:1;
- int writebraw_supported:1;
+ unsigned int readbraw_supported:1;
+ unsigned int writebraw_supported:1;
const char *server_domain;
};
@@ -99,9 +99,9 @@ struct cli_socket {
client library
*/
struct cli_options {
- int use_oplocks:1;
- int use_level2_oplocks:1;
- int use_spnego:1;
+ unsigned int use_oplocks:1;
+ unsigned int use_level2_oplocks:1;
+ unsigned int use_spnego:1;
};
/* this is the context for the client transport layer */
@@ -126,7 +126,7 @@ struct cli_transport {
/* is a readbraw pending? we need to handle that case
specially on receiving packets */
- int readbraw_pending:1;
+ unsigned int readbraw_pending:1;
/* an idle function - if this is defined then it will be
called once every period milliseconds while we are waiting
@@ -230,7 +230,7 @@ struct cli_request {
/* set if this is a one-way request, meaning we are not
expecting a reply from the server. */
- int one_way_request:1;
+ unsigned int one_way_request:1;
/* the mid of this packet - used to match replies */
uint16 mid;