diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-09-28 10:39:32 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-09-28 10:39:32 +0300 |
commit | 6933158a95542a9aa1fb3862d3bd93cc71440ca3 (patch) | |
tree | 86bc82b6c2010ab5eecd10fc87f04906b187cf0d /src/microhttpd | |
parent | 4153c1cd4c234226f5075e4115606d8fc4549ad4 (diff) | |
download | libmicrohttpd-6933158a95542a9aa1fb3862d3bd93cc71440ca3.tar.gz libmicrohttpd-6933158a95542a9aa1fb3862d3bd93cc71440ca3.zip |
muted some compiler warnings for clang
Diffstat (limited to 'src/microhttpd')
-rw-r--r-- | src/microhttpd/mhd_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/mhd_str.c b/src/microhttpd/mhd_str.c index 9c1c5172..22ae36a9 100644 --- a/src/microhttpd/mhd_str.c +++ b/src/microhttpd/mhd_str.c | |||
@@ -1428,7 +1428,7 @@ MHD_hex_to_bin (const char *hex, | |||
1428 | const int l = toxdigitvalue (hex[r++]); | 1428 | const int l = toxdigitvalue (hex[r++]); |
1429 | if ((0 > h) || (0 > l)) | 1429 | if ((0 > h) || (0 > l)) |
1430 | return 0; | 1430 | return 0; |
1431 | out[w++] = ( (((uint8_t) ((unsigned int) h)) << 4) | 1431 | out[w++] = ( ((uint8_t) (((uint8_t) ((unsigned int) h)) << 4)) |
1432 | | ((uint8_t) ((unsigned int) l)) ); | 1432 | | ((uint8_t) ((unsigned int) l)) ); |
1433 | } | 1433 | } |
1434 | mhd_assert (len == r); | 1434 | mhd_assert (len == r); |