diff options
author | Daniel Veillard <veillard@redhat.com> | 2010-03-15 16:08:44 +0100 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2010-03-15 16:08:44 +0100 |
commit | 06c93b75095ddca6ba80e45dd381bb69cd04b9f6 (patch) | |
tree | 9389ffb136c4dd894f95188d3a63f9c1f0f31d52 /SAX2.c | |
parent | 26b06874353941ea9eb5540b293b28a97d2b5cb0 (diff) | |
download | android_external_libxml2-06c93b75095ddca6ba80e45dd381bb69cd04b9f6.tar.gz android_external_libxml2-06c93b75095ddca6ba80e45dd381bb69cd04b9f6.tar.bz2 android_external_libxml2-06c93b75095ddca6ba80e45dd381bb69cd04b9f6.zip |
Remove a few warnings
Diffstat (limited to 'SAX2.c')
-rw-r--r-- | SAX2.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1108,7 +1108,8 @@ xmlSAX2AttributeInternal(void *ctx, const xmlChar *fullname, #ifdef LIBXML_HTML_ENABLED if ((ctxt->html) && (value == NULL) && (htmlIsBooleanAttr(fullname))) { - nval = value = xmlStrdup(fullname); + nval = xmlStrdup(fullname); + value = (const xmlChar *) nval; } else #endif { |