mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
small changes to syntax to get rid of compiler warnings. No changes to
* error.c HTMLparser.c testC14N.c testHTML.c testURI.c xmlcatalog.c xmlmemory.c xmlreader.c xmlschemastypes.c python/libxml.c include/libxml/xmlmemory.h: small changes to syntax to get rid of compiler warnings. No changes to logic.
This commit is contained in:
@ -123,8 +123,8 @@ struct _xmlSchemaValDecimal {
|
||||
unsigned long hi;
|
||||
unsigned int extra;
|
||||
unsigned int sign:1;
|
||||
int frac:7;
|
||||
int total:8;
|
||||
unsigned int frac:7;
|
||||
unsigned int total:8;
|
||||
};
|
||||
|
||||
typedef struct _xmlSchemaValQName xmlSchemaValQName;
|
||||
@ -1413,7 +1413,7 @@ xmlSchemaValAtomicType(xmlSchemaTypePtr type, const xmlChar *value,
|
||||
goto return0;
|
||||
case XML_SCHEMAS_DECIMAL: {
|
||||
const xmlChar *cur = value, *tmp;
|
||||
int frac = 0, len, neg = 0;
|
||||
unsigned int frac = 0, len, neg = 0;
|
||||
unsigned long base = 0;
|
||||
if (cur == NULL)
|
||||
goto return1;
|
||||
|
Reference in New Issue
Block a user