Fix bug with tokenized attribute values.
authorJames Clark <jjc@jclark.com>
Wed, 22 Sep 1999 03:30:35 +0000 (03:30 +0000)
committerJames Clark <jjc@jclark.com>
Wed, 22 Sep 1999 03:30:35 +0000 (03:30 +0000)
expat/xmltok/xmltok.c

index 7e50a00a8abaa18c1cc0771d49505af96d01e17f..fd1260314257ead7199222da3f119bbb6b92db76 100755 (executable)
@@ -230,7 +230,7 @@ int sb_byteToAscii(const ENCODING *enc, const char *p)
   return *p;
 }
 #else
-#define BYTE_TO_ASCII(enc, p) (*p)
+#define BYTE_TO_ASCII(enc, p) (*(p))
 #endif
 
 #define IS_NAME_CHAR(enc, p, n) \