summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-07-15 21:02:42 +0200
committerStefan Metzmacher <metze@samba.org>2009-07-15 21:04:06 +0200
commit377a97579bc9b733c5a6363c71498e2ecf894f02 (patch)
tree5795b457d0fa0fc96f514685095526f9d8676695
parent2fca950d68bff3641ed3ac4bdaee1d16f0cca88a (diff)
downloadsamba-377a97579bc9b733c5a6363c71498e2ecf894f02.tar.gz
samba-377a97579bc9b733c5a6363c71498e2ecf894f02.tar.bz2
samba-377a97579bc9b733c5a6363c71498e2ecf894f02.zip
s3:smbd: try to fix a compiler warning on i386 : left shift count >= width of type
metze
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index d1f2e7ff18..06536f9e21 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -4105,7 +4105,7 @@ NTSTATUS smbd_do_qfilepathinfo(connection_struct *conn,
I think this causes us to fail the IFSKIT
BasicFileInformationTest. -tpot */
file_index = ((sbuf.st_ex_ino) & UINT32_MAX); /* FileIndexLow */
- file_index |= ((sbuf.st_ex_dev) & UINT32_MAX) << 32; /* FileIndexHigh */
+ file_index |= ((uint64_t)((sbuf.st_ex_dev) & UINT32_MAX)) << 32; /* FileIndexHigh */
switch (info_level) {
case SMB_INFO_STANDARD: