mirror of git://sourceware.org/git/glibc.git
				
				
				
			sprof: fix -Wformat warnings on 32-bit hosts
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
		
							parent
							
								
									48fde7b026
								
							
						
					
					
						commit
						9681f645ba
					
				| 
						 | 
				
			
			@ -570,8 +570,8 @@ load_shobj (const char *name)
 | 
			
		|||
	|| INT_ADD_WRAPV (sz, off, &end_off)				\
 | 
			
		||||
	|| end_off > st.st_size)					\
 | 
			
		||||
      error (EXIT_FAILURE, ERANGE,					\
 | 
			
		||||
	     _("read outside of file extents %zu + %zd > %zu"),		\
 | 
			
		||||
	     sz, off, st.st_size);					\
 | 
			
		||||
	     _("read outside of file extents %zu + %jd > %jd"),		\
 | 
			
		||||
	     sz, (intmax_t) off, (intmax_t) st.st_size);		\
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
  /* Map the section header.  */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue