mirror of
https://github.com/curl/curl.git
synced 2026-08-25 22:13:33 +03:00
fix compiler warning
This commit is contained in:
parent
10affed097
commit
dc9f0a9758
3 changed files with 19 additions and 3 deletions
|
|
@ -70,11 +70,11 @@ static void decodeQuantum(unsigned char *dest, const char *src)
|
|||
x = (x << 6);
|
||||
}
|
||||
|
||||
dest[2] = (unsigned char)(x & 0xFFUL);
|
||||
dest[2] = Curl_ultouc(x);
|
||||
x >>= 8;
|
||||
dest[1] = (unsigned char)(x & 0xFFUL);
|
||||
dest[1] = Curl_ultouc(x);
|
||||
x >>= 8;
|
||||
dest[0] = (unsigned char)(x & 0xFFUL);
|
||||
dest[0] = Curl_ultouc(x);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue