diff options
author | Armin K <krejzi@email.com> | 2013-05-30 19:00:50 +0200 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2013-06-03 22:03:28 +0200 |
commit | 6eea2f2c60e6a97491920cdf86b847869a2411dd (patch) | |
tree | 825a124b674c67548a678ef5e1e1e84d140f0bc5 /python/libxml.c | |
parent | dcc19503193c71596278a252064a8ce66331b3cd (diff) | |
download | libxml2-6eea2f2c60e6a97491920cdf86b847869a2411dd.tar.gz |
python: Fix compiler warnings when building python3 bindings
Diffstat (limited to 'python/libxml.c')
-rw-r--r-- | python/libxml.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/libxml.c b/python/libxml.c index 3338b83d..30b71f36 100644 --- a/python/libxml.c +++ b/python/libxml.c @@ -296,7 +296,7 @@ xmlPythonFileReadRaw (void * context, char * buffer, int len) { #ifdef PyUnicode_Check } else if PyUnicode_Check (ret) { #if PY_VERSION_HEX >= 0x03030000 - size_t size; + Py_ssize_t size; const char *tmp; /* tmp doesn't need to be deallocated */ @@ -361,7 +361,7 @@ xmlPythonFileRead (void * context, char * buffer, int len) { #ifdef PyUnicode_Check } else if PyUnicode_Check (ret) { #if PY_VERSION_HEX >= 0x03030000 - size_t size; + Py_ssize_t size; const char *tmp; /* tmp doesn't need to be deallocated */ |