From 23a32f6c6b66ab0606e1467105e863c95ae937b7 Mon Sep 17 00:00:00 2001
From: Tinny Ng <tng@apache.org>
Date: Fri, 27 Sep 2002 13:22:52 +0000
Subject: [PATCH] [Bug 13073] GeneralAttributeCheck.cpp : compilation fails
 with Sun C++ 4.2 on Solaris2.7 system.

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174252 13f79535-47bb-0310-9956-ffa450edef68
---
 src/xercesc/validators/schema/GeneralAttributeCheck.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/xercesc/validators/schema/GeneralAttributeCheck.cpp b/src/xercesc/validators/schema/GeneralAttributeCheck.cpp
index 071669fde..ae763c8ed 100644
--- a/src/xercesc/validators/schema/GeneralAttributeCheck.cpp
+++ b/src/xercesc/validators/schema/GeneralAttributeCheck.cpp
@@ -56,6 +56,9 @@
 
 /*
  * $Log$
+ * Revision 1.8  2002/09/27 13:22:52  tng
+ * [Bug 13073] GeneralAttributeCheck.cpp : compilation fails with Sun C++ 4.2 on Solaris2.7 system.
+ *
  * Revision 1.7  2002/09/26 21:08:14  tng
  * [Bug12849] comparison is always false warning.  Patch from Gareth Reakes
  *
@@ -832,7 +835,7 @@ void GeneralAttributeCheck::initCharFlagTable()
 #endif
 
 
-unsigned short GeneralAttributeCheck::fgElemAttTable[E_Count][A_Count] =
+unsigned short GeneralAttributeCheck::fgElemAttTable[GeneralAttributeCheck::E_Count][GeneralAttributeCheck::A_Count] =
 {
   { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 0, 258, 0, 514, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
   { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
-- 
GitLab