summaryrefslogtreecommitdiffstats
path: root/source4/torture/smb2/scan.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-11-30 02:08:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:52 -0500
commit03d301ead5f702872b8cb948b8cd01b0fa0db5f7 (patch)
treebfecef5d67424c708c0122b591458328f6138ce1 /source4/torture/smb2/scan.c
parentad02b0bee4c8554499e02e93903e64d599c11475 (diff)
downloadsamba-03d301ead5f702872b8cb948b8cd01b0fa0db5f7.tar.gz
samba-03d301ead5f702872b8cb948b8cd01b0fa0db5f7.tar.xz
samba-03d301ead5f702872b8cb948b8cd01b0fa0db5f7.zip
r11967: Fix more 64-bit warnings.
(This used to be commit 9c4436a124f874ae240feaf590141d48c33a635f)
Diffstat (limited to 'source4/torture/smb2/scan.c')
-rw-r--r--source4/torture/smb2/scan.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/torture/smb2/scan.c b/source4/torture/smb2/scan.c
index b0c4ba4c8d6..03aa6dca49f 100644
--- a/source4/torture/smb2/scan.c
+++ b/source4/torture/smb2/scan.c
@@ -78,8 +78,8 @@ BOOL torture_smb2_getinfo_scan(void)
if (!NT_STATUS_EQUAL(status, NT_STATUS_INVALID_INFO_CLASS) &&
!NT_STATUS_EQUAL(status, NT_STATUS_INVALID_PARAMETER) &&
!NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED)) {
- printf("file level 0x%04x is %d bytes - %s\n",
- io.in.level, io.out.blob.length, nt_errstr(status));
+ printf("file level 0x%04x is %ld bytes - %s\n",
+ io.in.level, (long)io.out.blob.length, nt_errstr(status));
dump_data(1, io.out.blob.data, io.out.blob.length);
}
@@ -88,8 +88,8 @@ BOOL torture_smb2_getinfo_scan(void)
if (!NT_STATUS_EQUAL(status, NT_STATUS_INVALID_INFO_CLASS) &&
!NT_STATUS_EQUAL(status, NT_STATUS_INVALID_PARAMETER) &&
!NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED)) {
- printf("dir level 0x%04x is %d bytes - %s\n",
- io.in.level, io.out.blob.length, nt_errstr(status));
+ printf("dir level 0x%04x is %ld bytes - %s\n",
+ io.in.level, (long)io.out.blob.length, nt_errstr(status));
dump_data(1, io.out.blob.data, io.out.blob.length);
}
}
@@ -183,8 +183,8 @@ BOOL torture_smb2_find_scan(void)
if (!NT_STATUS_EQUAL(status, NT_STATUS_INVALID_INFO_CLASS) &&
!NT_STATUS_EQUAL(status, NT_STATUS_INVALID_PARAMETER) &&
!NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED)) {
- printf("find level 0x%04x is %d bytes - %s\n",
- io.in.level, io.out.blob.length, nt_errstr(status));
+ printf("find level 0x%04x is %ld bytes - %s\n",
+ io.in.level, (long)io.out.blob.length, nt_errstr(status));
dump_data(1, io.out.blob.data, io.out.blob.length);
}
}