mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04: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
@ -166,8 +166,8 @@ static unsigned int readint_le(unsigned char *buf)
|
|||||||
*/
|
*/
|
||||||
static unsigned short readshort_le(unsigned char *buf)
|
static unsigned short readshort_le(unsigned char *buf)
|
||||||
{
|
{
|
||||||
return (unsigned short)((unsigned short)((unsigned short)buf[0]) |
|
return (unsigned short)(((unsigned short)buf[0]) |
|
||||||
(unsigned short)((unsigned short)buf[1] << 8));
|
((unsigned short)buf[1] << 8));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user