The Samba-Bugzilla – Attachment 1685 Details for
Bug 1779
[PATCH] compiler warning shifting more bits that the type actually has.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add cast to silence warning.
clireadwrite-fix.txt (text/plain), 816 bytes, created by
William Jojo
on 2006-01-14 12:01:11 UTC
(
hide
)
Description:
add cast to silence warning.
Filename:
MIME Type:
Creator:
William Jojo
Created:
2006-01-14 12:01:11 UTC
Size:
816 bytes
patch
obsolete
>--- libsmb/clireadwrite.c.orig 2006-01-14 13:54:11.000000000 -0500 >+++ libsmb/clireadwrite.c 2006-01-14 13:57:53.000000000 -0500 >@@ -50,7 +50,7 @@ > SSVAL(cli->outbuf,smb_mid,cli->mid + i); > > if (bigoffset) >- SIVAL(cli->outbuf,smb_vwv10,(offset>>32) & 0xffffffff); >+ SIVAL(cli->outbuf,smb_vwv10,((SMB_BIG_UINT)offset>>32) & 0xffffffff); > > return cli_send_smb(cli); > } >@@ -303,7 +303,7 @@ > smb_buf(cli->outbuf) - smb_base(cli->outbuf)); > > if (large_writex) >- SIVAL(cli->outbuf,smb_vwv12,(offset>>32) & 0xffffffff); >+ SIVAL(cli->outbuf,smb_vwv12,((SMB_BIG_UINT)offset>>32) & 0xffffffff); > > p = smb_base(cli->outbuf) + SVAL(cli->outbuf,smb_vwv11); > memcpy(p, buf, size);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1779
: 1685