mirror of
				https://github.com/SwallowOS/xorg_lib_libxfont
				synced 2025-11-04 22:53:53 +08:00 
			
		
		
		
	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:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user