mirror of
				https://github.com/eledio-devices/thirdparty-miniz.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	Merge remote-tracking branch 'ccawley2011/mingw-watcom'
# Conflicts: # examples/example6.c
This commit is contained in:
		| @@ -100,7 +100,7 @@ int main(int argc, char *argv[]) | ||||
|   file_loc = ftell(pInfile); | ||||
|   fseek(pInfile, 0, SEEK_SET); | ||||
|  | ||||
|   if ((file_loc < 0) || (file_loc > INT_MAX)) | ||||
|   if ((file_loc < 0) || ((mz_uint64)file_loc > INT_MAX)) | ||||
|   { | ||||
|      // This is not a limitation of miniz or tinfl, but this example. | ||||
|      printf("File is too large to be processed by this example.\n"); | ||||
|   | ||||
| @@ -47,7 +47,7 @@ int main(int argc, char *argv[]) | ||||
|   file_loc = ftell(pInfile); | ||||
|   fseek(pInfile, 0, SEEK_SET); | ||||
|  | ||||
|   if ((file_loc < 0) || (file_loc > INT_MAX)) | ||||
|   if ((file_loc < 0) || ((mz_uint64)file_loc > INT_MAX)) | ||||
|   { | ||||
|      // This is not a limitation of miniz or tinfl, but this example. | ||||
|      printf("File is too large to be processed by this example.\n"); | ||||
|   | ||||
| @@ -132,7 +132,7 @@ int main(int argc, char *argv[]) | ||||
|    file_loc = ftell(pInfile); | ||||
|    fseek(pInfile, 0, SEEK_SET); | ||||
|  | ||||
|    if ((file_loc < 0) || (file_loc > INT_MAX)) | ||||
|    if ((file_loc < 0) || ((mz_uint64)file_loc > INT_MAX)) | ||||
|    { | ||||
|       // This is not a limitation of miniz or tinfl, but this example. | ||||
|       printf("File is too large to be processed by this example.\n"); | ||||
|   | ||||
| @@ -91,6 +91,8 @@ int main(int argc, char *argv[]) | ||||
|  | ||||
|   int MinIter = 9999, MaxIter = 0; | ||||
|  | ||||
|   (void)argc, (void)argv; | ||||
|  | ||||
|   for(iY = 0; iY < iYmax; iY++) | ||||
|   { | ||||
|     Cy = CyMin + iY * PixelHeight; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user