Add suffix to unsigned constant in xmlmemory.c

Avoids an integer conversion warning with UBSan.
This commit is contained in:
Nick Wellnhofer 2022-01-25 02:21:05 +01:00
parent 5948abfe99
commit f4a74bf0ae

View File

@ -78,7 +78,7 @@ void xmlMallocBreakpoint(void);
* Each of the blocks allocated begin with a header containing information
*/
#define MEMTAG 0x5aa5
#define MEMTAG 0x5aa5U
#define MALLOC_TYPE 1
#define REALLOC_TYPE 2