Fix gcc warning on stat (32 bits)
This commit is contained in:
		@@ -244,9 +244,8 @@ inline size_t filesize(FILE *f)
 | 
				
			|||||||
        return static_cast<size_t>(st.st_size);
 | 
					        return static_cast<size_t>(st.st_size);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
#else // unix 32 bits or cygwin
 | 
					#else // unix 32 bits or cygwin
 | 
				
			||||||
    struct stat st
 | 
					    struct stat st;
 | 
				
			||||||
    {
 | 
					 
 | 
				
			||||||
    };
 | 
					 | 
				
			||||||
    if (fstat(fd, &st) == 0)
 | 
					    if (fstat(fd, &st) == 0)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        return static_cast<size_t>(st.st_size);
 | 
					        return static_cast<size_t>(st.st_size);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user