diff options
author | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2016-05-29 23:37:13 -0700 |
---|---|---|
committer | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2016-05-30 21:25:00 -0700 |
commit | 2b09a7af9f19db886567e524f978ad393593f7c0 (patch) | |
tree | 410a636f31f4d2b7cc600f1c1406cee7ca0e7ee4 /src/fc/fserve.c | |
parent | 3eddbca2690381bbbaf14adadb2679eea702095f (diff) |
fserve: Silence a -Wformat warning
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 <jeremyhu@apple.com>
(cherry picked from commit e6009adbc89ec3e1f924bcb57b333c1c02f5e66d)
Diffstat (limited to 'src/fc/fserve.c')
-rw-r--r-- | src/fc/fserve.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fc/fserve.c b/src/fc/fserve.c index 92b0d53..bbaa8bf 100644 --- a/src/fc/fserve.c +++ b/src/fc/fserve.c @@ -631,8 +631,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; |