emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] concurrency-libtask b09d4ba 08/10: Fix format specifiers


From: Philipp Stephani
Subject: [Emacs-diffs] concurrency-libtask b09d4ba 08/10: Fix format specifiers
Date: Wed, 26 Oct 2016 21:32:44 +0000 (UTC)

branch: concurrency-libtask
commit b09d4bab3cef51d6b201fd82c5a7869d5d399f5b
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>

    Fix format specifiers
---
 src/print.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/print.c b/src/print.c
index bb38b3d..282d5aa 100644
--- a/src/print.c
+++ b/src/print.c
@@ -2018,22 +2018,22 @@ print_object (Lisp_Object obj, Lisp_Object 
printcharfun, bool escapeflag)
             }
             if (channel->bufsize != 0)
               {
-                int n = snprintf (buf, sizeof buf, " with a buffer size of 
%d", channel->bufsize);
+                int n = snprintf (buf, sizeof buf, " with a buffer size of 
%u", channel->bufsize);
                 strout (buf, n, n, printcharfun);
               }
             if (channel->nbuf != 0)
               {
-                int n = snprintf (buf, sizeof buf, " with %d buffered 
objects", channel->nbuf);
+                int n = snprintf (buf, sizeof buf, " with %u buffered 
objects", channel->nbuf);
                 strout (buf, n, n, printcharfun);
               }
              if (channel->arecv.n != 0)
               {
-                int n = snprintf (buf, sizeof buf, " with %d queued 
receivers", channel->arecv.n);
+                int n = snprintf (buf, sizeof buf, " with %u queued 
receivers", channel->arecv.n);
                 strout (buf, n, n, printcharfun);
               }
              if (channel->asend.n != 0)
               {
-                int n = snprintf (buf, sizeof buf, " with %d queued senders", 
channel->asend.n);
+                int n = snprintf (buf, sizeof buf, " with %u queued senders", 
channel->asend.n);
                 strout (buf, n, n, printcharfun);
               }
              printchar ('>', printcharfun);



reply via email to

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