mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-27 14:03:36 +03:00
parser: Make XML_INPUT constants signed
Avoid conversion to unsigned which triggers (harmless) UBSan warnings.
This commit is contained in:
parent
52d9d768a7
commit
4967277931
@ -360,10 +360,10 @@ XMLPUBFUN xmlParserInputPtr
|
||||
* New input API
|
||||
*/
|
||||
|
||||
#define XML_INPUT_BUF_STATIC (1u << 1)
|
||||
#define XML_INPUT_BUF_ZERO_TERMINATED (1u << 2)
|
||||
#define XML_INPUT_UNZIP (1u << 3)
|
||||
#define XML_INPUT_NETWORK (1u << 4)
|
||||
#define XML_INPUT_BUF_STATIC (1 << 1)
|
||||
#define XML_INPUT_BUF_ZERO_TERMINATED (1 << 2)
|
||||
#define XML_INPUT_UNZIP (1 << 3)
|
||||
#define XML_INPUT_NETWORK (1 << 4)
|
||||
|
||||
XMLPUBFUN int
|
||||
xmlInputCreateUrl(const char *url, int flags, xmlParserInputPtr *out);
|
||||
|
Loading…
x
Reference in New Issue
Block a user