mirror of
				https://github.com/eledio-devices/thirdparty-miniz.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	Fix "'&array' may not produce intended result" warnings with OpenWatcom
Co-authored-by: sezero <sezero@users.noreply.github.com>
This commit is contained in:
		| @@ -58,6 +58,8 @@ typedef struct mz_dummy_time_t_tag | ||||
| #define MZ_MAX(a, b) (((a) > (b)) ? (a) : (b)) | ||||
| #define MZ_MIN(a, b) (((a) < (b)) ? (a) : (b)) | ||||
| #define MZ_CLEAR_OBJ(obj) memset(&(obj), 0, sizeof(obj)) | ||||
| #define MZ_CLEAR_ARR(obj) memset((obj), 0, sizeof(obj)) | ||||
| #define MZ_CLEAR_PTR(obj) memset((obj), 0, sizeof(*obj)) | ||||
|  | ||||
| #if MINIZ_USE_UNALIGNED_LOADS_AND_STORES && MINIZ_LITTLE_ENDIAN | ||||
| #define MZ_READ_LE16(p) *((const mz_uint16 *)(p)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user