src/fc/fserve.c:653:32: warning: format specifies type 'int' but the argument 
has type 'CARD32' (aka 'unsigned long') [-Wformat]
               " from font server\n", rep->length);
                                      ^~~~~~~~~~~
1 warning generated.

Signed-off-by: Jeremy Huddleston Sequoia <jerem...@apple.com>
---
 src/fc/fserve.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/fc/fserve.c b/src/fc/fserve.c
index 42c4028..fb1941d 100644
--- a/src/fc/fserve.c
+++ b/src/fc/fserve.c
@@ -649,8 +649,8 @@ fs_get_reply (FSFpePtr conn, int *error)
      */
     if (rep->length > MAX_REPLY_LENGTH)
     {
-       ErrorF("fserve: reply length %d > MAX_REPLY_LENGTH, disconnecting"
-              " from font server\n", rep->length);
+       ErrorF("fserve: reply length %ld > MAX_REPLY_LENGTH, disconnecting"
+              " from font server\n", (long)rep->length);
        _fs_connection_died (conn);
        *error = FSIO_ERROR;
        return 0;
-- 
2.8.3

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to