blob: fb4b2b6e068f265d74c892fed2a78dd9e7542c55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
$NetBSD: patch-ac,v 1.1 2002/09/25 23:17:29 jwise Exp $
--- src/engine/parser.cpp.orig Wed Sep 25 18:55:34 2002
+++ src/engine/parser.cpp Wed Sep 25 18:53:36 2002
@@ -428,7 +428,7 @@
if (!(firstTime && rawBuffer[0] == (char) 0xEF &&
rawBuffer[1] == (char) 0xBB && rawBuffer[2] == (char) 0xBF))
S.setCurrLine(XML_GetCurrentLineNumber(parser));
- int code = XML_GetErrorCode(parser);
+ enum XML_Error code = XML_GetErrorCode(parser);
Str eCodeStr, eNameStr;
eCodeStr = code;
eNameStr = (char*) XML_ErrorString(code);
|