gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated: test_str: fixed wrong printf form


From: gnunet
Subject: [libmicrohttpd] branch master updated: test_str: fixed wrong printf format
Date: Sat, 23 Oct 2021 10:41:47 +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 3baeda38 test_str: fixed wrong printf format
3baeda38 is described below

commit 3baeda382b89ba4c8ebcb0d6312619c0f929a564
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Oct 23 11:41:02 2021 +0300

    test_str: fixed wrong printf format
---
 src/microhttpd/test_str.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/microhttpd/test_str.c b/src/microhttpd/test_str.c
index 941f8406..2d256dd9 100644
--- a/src/microhttpd/test_str.c
+++ b/src/microhttpd/test_str.c
@@ -3628,7 +3628,7 @@ check_strx_from_uint32 (void)
               t_failed++;
             c_failed[i] = ! 0;
             fprintf (stderr,
-                     "FAILED: MHD_uint32_to_strx(0x%" PRIXPTR ", -> buf,"
+                     "FAILED: MHD_uint32_to_strx(0x%" PRIX64 ", -> buf,"
                      " %d) returned %" PRIuPTR
                      ", while expecting 0."
                      " Locale: %s\n", t->val, (int) b_size, (intptr_t) rs,
@@ -3643,7 +3643,7 @@ check_strx_from_uint32 (void)
               t_failed++;
             c_failed[i] = ! 0;
             fprintf (stderr,
-                     "FAILED: MHD_uint32_to_strx(0x%" PRIXPTR ", -> buf,"
+                     "FAILED: MHD_uint32_to_strx(0x%" PRIX64 ", -> buf,"
                      " %d) returned %" PRIuPTR
                      ", while expecting %d."
                      " Locale: %s\n", t->val, (int) b_size, (intptr_t) rs,
@@ -3656,7 +3656,7 @@ check_strx_from_uint32 (void)
               t_failed++;
             c_failed[i] = ! 0;
             fprintf (stderr,
-                     "FAILED: MHD_uint32_to_strx(0x%" PRIXPTR ", -> \"%.*s\","
+                     "FAILED: MHD_uint32_to_strx(0x%" PRIX64 ", -> \"%.*s\","
                      " %d) returned %" PRIuPTR "."
                      " Locale: %s\n", t->val, (int) rs, buf, (int) b_size,
                      (intptr_t) rs,  get_current_locale_str ());
@@ -3667,7 +3667,7 @@ check_strx_from_uint32 (void)
               t_failed++;
             c_failed[i] = ! 0;
             fprintf (stderr,
-                     "FAILED: MHD_uint32_to_strx(0x%" PRIXPTR ", -> \"%.*s\","
+                     "FAILED: MHD_uint32_to_strx(0x%" PRIX64 ", -> \"%.*s\","
                      " %d) returned %" PRIuPTR
                      " and touched data after the resulting string."
                      " Locale: %s\n", t->val, (int) rs, buf, (int) b_size,
@@ -3676,7 +3676,7 @@ check_strx_from_uint32 (void)
         }
       }
       if ((verbose > 1) && (j == locale_name_count - 1) && ! c_failed[i])
-        printf ("PASSED: MHD_uint32_to_strx(0x%" PRIXPTR ", -> \"%.*s\", %d) "
+        printf ("PASSED: MHD_uint32_to_strx(0x%" PRIX64 ", -> \"%.*s\", %d) "
                 "== %" PRIuPTR "\n",
                 t->val, (int) rs, buf, (int) b_size - 1, (intptr_t) rs);
     }

-- 
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]