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.
diff --git a/xmlschemastypes.c b/xmlschemastypes.c
index 7bd8a6e..8103f7a 100644
--- a/xmlschemastypes.c
+++ b/xmlschemastypes.c
@@ -123,8 +123,8 @@
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 @@
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;