git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fca950
)
s3:smbd: try to fix a compiler warning on i386 : left shift count >= width of type
author
Stefan Metzmacher
<metze@samba.org>
Wed, 15 Jul 2009 19:02:42 +0000
(21:02 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 15 Jul 2009 19:04:06 +0000
(21:04 +0200)
metze
source3/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index d1f2e7ff18a3dea7cf543f61060f0c4327fe1ddd..06536f9e217765e2925f8e6d735da60857280197 100644
(file)
--- 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: