aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_str.c')
-rw-r--r--src/microhttpd/mhd_str.c2
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);