1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

Fix Windows compiler warnings in python/types.c

This commit is contained in:
Nick Wellnhofer
2022-09-04 16:41:43 +02:00
parent 71736b4e9a
commit 0d90125859
6 changed files with 48 additions and 52 deletions

View File

@@ -342,7 +342,7 @@ xmlModulePlatformClose(void *handle)
static int
xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
{
XML_IGNORE_PEDANTIC_WARNINGS
XML_IGNORE_FPTR_CAST_WARNINGS
*symbol = GetProcAddress(handle, name);
return (NULL == *symbol) ? -1 : 0;
XML_POP_WARNINGS