emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] concurrency-libtask 3d0148e 2/2: Fix format specifiers


From: Philipp Stephani
Subject: [Emacs-diffs] concurrency-libtask 3d0148e 2/2: Fix format specifiers
Date: Tue, 25 Oct 2016 23:39:13 +0000 (UTC)

branch: concurrency-libtask
commit 3d0148eef6b91d0e3072f6a96d6a47e4c3d36f38
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]