gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] 01/02: Cosmetic fixes


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 01/02: Cosmetic fixes
Date: Mon, 10 Apr 2017 22:44:20 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit b70a0b2b66864649149c462ab2a3272b44cd8c18
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Mon Apr 10 20:55:12 2017 +0300

    Cosmetic fixes
---
 src/microhttpd/connection.c | 2 +-
 src/microhttpd/test_str.c   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 70c7268e..a495524a 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -3381,7 +3381,7 @@ MHD_get_connection_info (struct MHD_Connection 
*connection,
       return (const union MHD_ConnectionInfo *) 
&connection->connection_timeout_dummy;
     default:
       return NULL;
-    };
+    }
 }
 
 
diff --git a/src/microhttpd/test_str.c b/src/microhttpd/test_str.c
index e8581c22..d64dad9e 100644
--- a/src/microhttpd/test_str.c
+++ b/src/microhttpd/test_str.c
@@ -1951,7 +1951,7 @@ int check_strx_to_uint32_n_no_val(void)
         {
           size_t rs;
           const struct str_with_len * const t = str_no_num + i;
-          static const uint32_t rnd_val = 3214314212;
+          static const uint32_t rnd_val = 3214314212L;
           size_t len;
 
           for (len = 0; len <= t->len + 1; len++)
@@ -2397,7 +2397,7 @@ int check_strx_to_uint64_n_no_val(void)
         {
           size_t rs;
           const struct str_with_len * const t = str_no_num + i;
-          static const uint64_t rnd_val = 3214314212;
+          static const uint64_t rnd_val = 3214314212L;
           size_t len;
 
           for (len = 0; len <= t->len + 1; len++)

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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