From f88bf54c7f6d1c2ef833047eb8327953c304b5ff Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 25 May 2004 17:24:24 +0000 Subject: r889: convert samba4 to use [u]int16_t instead of [u]int16 metze (This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3) --- source4/libcli/raw/rawfsinfo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/libcli/raw/rawfsinfo.c') diff --git a/source4/libcli/raw/rawfsinfo.c b/source4/libcli/raw/rawfsinfo.c index 85daf654d3..faf375deb0 100644 --- a/source4/libcli/raw/rawfsinfo.c +++ b/source4/libcli/raw/rawfsinfo.c @@ -67,10 +67,10 @@ failed: ****************************************************************************/ static struct cli_request *smb_raw_qfsinfo_send(struct cli_tree *tree, TALLOC_CTX *mem_ctx, - uint16 info_level) + uint16_t info_level) { struct smb_trans2 tp; - uint16 setup = TRANSACT2_QFSINFO; + uint16_t setup = TRANSACT2_QFSINFO; tp.in.max_setup = 0; tp.in.flags = 0; @@ -133,7 +133,7 @@ struct cli_request *smb_raw_fsinfo_send(struct cli_tree *tree, TALLOC_CTX *mem_ctx, union smb_fsinfo *fsinfo) { - uint16 info_level; + uint16_t info_level; /* handle the only non-trans2 call separately */ if (fsinfo->generic.level == RAW_QFS_DSKATTR) { @@ -144,7 +144,7 @@ struct cli_request *smb_raw_fsinfo_send(struct cli_tree *tree, } /* the headers map the trans2 levels direct to info levels */ - info_level = (uint16)fsinfo->generic.level; + info_level = (uint16_t)fsinfo->generic.level; return smb_raw_qfsinfo_send(tree, mem_ctx, info_level); } -- cgit