gnunet-svn
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]