[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 33/156: mhd_str: fixed compiler warning for compact code
From: |
gnunet |
Subject: |
[libmicrohttpd] 33/156: mhd_str: fixed compiler warning for compact code |
Date: |
Sun, 28 May 2023 17:51:26 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to tag v0.9.77
in repository libmicrohttpd.
commit f266586c4e6f92418d9bc00beb5a7ec01e38bd68
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Sep 27 20:24:24 2022 +0300
mhd_str: fixed compiler warning for compact code
---
src/microhttpd/mhd_str.c | 2 +-
src/microhttpd/mhd_str.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/mhd_str.c b/src/microhttpd/mhd_str.c
index 6c07a574..2d11e470 100644
--- a/src/microhttpd/mhd_str.c
+++ b/src/microhttpd/mhd_str.c
@@ -1154,7 +1154,7 @@ MHD_str_to_uvalue_n_ (const char *str,
void *out_val,
size_t val_size,
uint64_t max_val,
- int base)
+ unsigned int base)
{
size_t i;
uint64_t res;
diff --git a/src/microhttpd/mhd_str.h b/src/microhttpd/mhd_str.h
index 4faeba08..2de208a6 100644
--- a/src/microhttpd/mhd_str.h
+++ b/src/microhttpd/mhd_str.h
@@ -341,7 +341,7 @@ MHD_str_to_uvalue_n_ (const char *str,
void *out_val,
size_t val_size,
uint64_t max_val,
- int base);
+ unsigned int base);
#define MHD_str_to_uint64_(s,ov) MHD_str_to_uvalue_n_ ((s),SIZE_MAX,(ov), \
sizeof(uint64_t), \
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 17/156: src/examples: fixed printf format specifiers, (continued)
- [libmicrohttpd] 17/156: src/examples: fixed printf format specifiers, gnunet, 2023/05/28
- [libmicrohttpd] 19/156: thread-per-connection: do not cache connection timeout, gnunet, 2023/05/28
- [libmicrohttpd] 25/156: Fixed 'int' instead of 'MHD_Result', gnunet, 2023/05/28
- [libmicrohttpd] 24/156: daemon.c: fixed possible uninitialized value, gnunet, 2023/05/28
- [libmicrohttpd] 28/156: websocket_threaded_example: minor fixes, gnunet, 2023/05/28
- [libmicrohttpd] 37/156: testcurl: fixed checking response headers as null-terminated string, gnunet, 2023/05/28
- [libmicrohttpd] 34/156: daemon: fixed delayed notification callback in thread-per-connection mode, gnunet, 2023/05/28
- [libmicrohttpd] 38/156: test_upgrade{,_large}: fixed HTTP/1.1 compatibility, gnunet, 2023/05/28
- [libmicrohttpd] 42/156: configure: try to detect whether eventfd is enabled, gnunet, 2023/05/28
- [libmicrohttpd] 35/156: mhd_assert: use "DEBUG" macro defined by some toolchains, gnunet, 2023/05/28
- [libmicrohttpd] 33/156: mhd_str: fixed compiler warning for compact code,
gnunet <=
- [libmicrohttpd] 26/156: Fixed very rare data races when closing upgraded connection, gnunet, 2023/05/28
- [libmicrohttpd] 30/156: configure: fixed underquoting, typos, wording, gnunet, 2023/05/28
- [libmicrohttpd] 32/156: configure: fixed typos in messages, gnunet, 2023/05/28
- [libmicrohttpd] 23/156: Fixed wrong variable type used for result of gnutls_priority_init(), gnunet, 2023/05/28
- [libmicrohttpd] 41/156: configure: used better detection of some functions when cross-compiling, gnunet, 2023/05/28
- [libmicrohttpd] 27/156: test_http_reasons: fixed compiler warnings, gnunet, 2023/05/28
- [libmicrohttpd] 29/156: Remove double adding of MHD_HTTP_HEADER_CONNECTION response header, gnunet, 2023/05/28
- [libmicrohttpd] 31/156: connection: skip no-op calling of body generation functions when response body is not used, gnunet, 2023/05/28
- [libmicrohttpd] 43/156: -typo, gnunet, 2023/05/28
- [libmicrohttpd] 21/156: internal.h: fixed incorrect use of enum value as preprocessor value, gnunet, 2023/05/28