summaryrefslogtreecommitdiff
path: root/source4/client
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-06-01 08:12:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:23 -0500
commitfa2e9ec311b99dee2fbff5ee5fa2c743298dacad (patch)
tree35dc6a43cb10399e427b2fcd76d24cc23c77151d /source4/client
parentb88fc7a3911e0ff8b6d7d324028e351281e94c46 (diff)
downloadsamba-fa2e9ec311b99dee2fbff5ee5fa2c743298dacad.tar.gz
samba-fa2e9ec311b99dee2fbff5ee5fa2c743298dacad.tar.bz2
samba-fa2e9ec311b99dee2fbff5ee5fa2c743298dacad.zip
r960: convert 'unsigned int' to uint_t in the most places
metze (This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0)
Diffstat (limited to 'source4/client')
-rw-r--r--source4/client/client.c6
-rw-r--r--source4/client/smbmnt.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index 1f813a3d18..1d428a4f0e 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -84,9 +84,9 @@ static pstring fileselection = "";
/* timing globals */
uint64_t get_total_size = 0;
-unsigned int get_total_time_ms = 0;
+uint_t get_total_time_ms = 0;
static uint64_t put_total_size = 0;
-static unsigned int put_total_time_ms = 0;
+static uint_t put_total_time_ms = 0;
/* totals globals */
static double dir_total;
@@ -1926,7 +1926,7 @@ static int cmd_chmod(void)
if (NT_STATUS_IS_ERR(cli_unix_chmod(cli->tree, src, mode))) {
d_printf("%s chmod file %s 0%o\n",
- cli_errstr(cli->tree), src, (unsigned int)mode);
+ cli_errstr(cli->tree), src, (uint_t)mode);
return 1;
}
diff --git a/source4/client/smbmnt.c b/source4/client/smbmnt.c
index ce406179cf..5c0d7ea1b3 100644
--- a/source4/client/smbmnt.c
+++ b/source4/client/smbmnt.c
@@ -139,7 +139,7 @@ static int mount_ok(char *mount_point)
/* Tries to mount using the appropriate format. For 2.2 the struct,
for 2.4 the ascii version. */
static int
-do_mount(char *share_name, unsigned int flags, struct smb_mount_data *data)
+do_mount(char *share_name, uint_t flags, struct smb_mount_data *data)
{
pstring opts;
struct utsname uts;
@@ -173,7 +173,7 @@ do_mount(char *share_name, unsigned int flags, struct smb_mount_data *data)
char *mount_point, *share_name = NULL;
FILE *mtab;
int fd;
- unsigned int flags;
+ uint_t flags;
struct smb_mount_data data;
struct mntent ment;