wmmenu: Fix -Wsign-compare compiler warning.
Use size_t instead of int since comparing with sizeof.
This commit is contained in:
		
							parent
							
								
									28ea752c44
								
							
						
					
					
						commit
						2167b4c354
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -16,7 +16,7 @@
 | 
				
			||||||
static char * ReadAll (FILE * f, int offset)
 | 
					static char * ReadAll (FILE * f, int offset)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    char buf [10*1024] ;
 | 
					    char buf [10*1024] ;
 | 
				
			||||||
    int iRead, nRead ;
 | 
					    size_t iRead, nRead ;
 | 
				
			||||||
    char * ret ;
 | 
					    char * ret ;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    clearerr (f) ;
 | 
					    clearerr (f) ;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue