Fixed compiler warning.

This commit is contained in:
Ilia Alshanetsky 2005-04-12 01:00:48 +00:00
parent 68798e50ee
commit ce73b66466

View File

@ -1483,7 +1483,7 @@ static xmlNodePtr to_xml_object(encodeTypePtr type, zval *data, int style, xmlNo
an implicit schema. Otherwise, use form.
*/
if (!strncmp((*attr)->namens, XML_NAMESPACE, sizeof(XML_NAMESPACE)) ||
(*attr)->form == XSD_FORM_QUALIFIED && (*attr)->namens) {
((*attr)->form == XSD_FORM_QUALIFIED) && (*attr)->namens) {
xmlNsPtr nsp = encode_add_ns(xmlParam, (*attr)->namens);
xmlSetNsProp(xmlParam, nsp, (*attr)->name, dummy->children->content);