[xml] strchr in xmlschemas.c



Dear All,

My C implementation defines strchr to have 2 arguments, the 1st being
a char* .

As xmlChar is an unsigned char and not a char, my C compiler faults the
use of strchr at line 1495 in xmlschemas.c in libxml2-2.6.8

The attached patch calls xmlStrchr in it's place.

Yours,

Phil L.
-- 
http://www.philipnet.com | http://director.sourceforge.net

Attachment: out
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]