mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:23:33 +03:00
convert Curl_ultous() and Curl_ultouc() functions to curlx_ultous() and
curlx_ultouc(), exposing them through curlx.h to allow proper code reuse later in our test harness.
This commit is contained in:
parent
693abbae3a
commit
439f62bfa8
9 changed files with 56 additions and 92 deletions
|
|
@ -71,11 +71,11 @@ static void decodeQuantum(unsigned char *dest, const char *src)
|
|||
x = (x << 6);
|
||||
}
|
||||
|
||||
dest[2] = Curl_ultouc(x);
|
||||
dest[2] = curlx_ultouc(x);
|
||||
x >>= 8;
|
||||
dest[1] = Curl_ultouc(x);
|
||||
dest[1] = curlx_ultouc(x);
|
||||
x >>= 8;
|
||||
dest[0] = Curl_ultouc(x);
|
||||
dest[0] = curlx_ultouc(x);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue