[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: mhd_str: removed some over-castin
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: mhd_str: removed some over-casting |
Date: |
Tue, 12 Sep 2023 10:56:04 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new fdc7a08c mhd_str: removed some over-casting
fdc7a08c is described below
commit fdc7a08c4feff969d6757a834d8c109442b9ca5d
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Sep 12 11:54:10 2023 +0300
mhd_str: removed some over-casting
---
src/microhttpd/mhd_str.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/mhd_str.c b/src/microhttpd/mhd_str.c
index 2504d366..402cd0bc 100644
--- a/src/microhttpd/mhd_str.c
+++ b/src/microhttpd/mhd_str.c
@@ -2377,7 +2377,7 @@ MHD_base64_to_bin_n (const char *base64,
out[j + 1] = (uint8_t) (((uint8_t) (((uint8_t) v2) << 4))
| ((uint8_t) (((uint8_t) v3) >> 2)));
out[j + 2] = (uint8_t) (((uint8_t) (((uint8_t) v3) << 6))
- | ((uint8_t) (((uint8_t) v4))));
+ | ((uint8_t) v4));
}
j += 3;
}
@@ -2419,7 +2419,7 @@ MHD_base64_to_bin_n (const char *base64,
if (j >= bin_size)
return 0; /* Not enough space */
out[j++] = (uint8_t) (((uint8_t) (((uint8_t) v3) << 6))
- | ((uint8_t) (((uint8_t) v4))));
+ | ((uint8_t) v4));
}
return j;
#if MHD_BASE64_FUNC_VERSION >= 2
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libmicrohttpd] branch master updated: mhd_str: removed some over-casting,
gnunet <=