mirror of
https://github.com/curl/curl.git
synced 2026-06-07 23:44:48 +03:00
ntlm: Remove unnecessary casts in readshort_le()
I don't think both of my fix ups from yesterday were needed to fix the compilation warning, so remove the one that I think is unnecessary and let the next Android autobuild prove/disprove it.
This commit is contained in:
parent
2924dd6703
commit
18f58c437f
1 changed files with 2 additions and 2 deletions
|
|
@ -166,8 +166,8 @@ static unsigned int readint_le(unsigned char *buf)
|
|||
*/
|
||||
static unsigned short readshort_le(unsigned char *buf)
|
||||
{
|
||||
return (unsigned short)((unsigned short)((unsigned short)buf[0]) |
|
||||
(unsigned short)((unsigned short)buf[1] << 8));
|
||||
return (unsigned short)(((unsigned short)buf[0]) |
|
||||
((unsigned short)buf[1] << 8));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue