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>
This commit is contained in:
Jeremy Huddleston Sequoia
2016-05-29 23:37:13 -07:00
parent ac559fad20
commit e6009adbc8

View File

@@ -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;