author | Nobutomo Nakano <nobutomo.nakano@oracle.com> |
Mon, 08 Oct 2012 19:44:45 -0700 | |
branch | s11u1-sru |
changeset 2370 | c539542fe61d |
parent 284 | ca417a821aee |
permissions | -rw-r--r-- |
--- libxml2-2.7.6/relaxng.c.proto-mismatch Thu Oct 8 00:39:20 2009 +++ libxml2-2.7.6/relaxng.c Thu Oct 8 00:41:57 2009 @@ -5369,7 +5369,7 @@ } else { xmlRngPErr(ctxt, node, XML_RNGP_CHOICE_CONTENT, "expecting name, anyName, nsName or choice : got %s\n", - (node == NULL ? "nothing" : node->name), NULL); + (node == NULL ? (const unsigned char *)"nothing" : node->name), NULL); return (NULL); } if (ret != def) {