dbertoni 2002/11/07 10:57:02
Modified: c/src/XSLT DecimalToRoman.hpp
Log:
Change types to unsigned and use a typedef.
Revision Changes Path
1.6 +5 -3 xml-xalan/c/src/XSLT/DecimalToRoman.hpp
Index: DecimalToRoman.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/DecimalToRoman.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- DecimalToRoman.hpp 6 Sep 2002 17:27:59 -0000 1.5
+++ DecimalToRoman.hpp 7 Nov 2002 18:57:02 -0000 1.6
@@ -69,17 +69,19 @@
/**
- * Structure to help in converting integers to roman numerals
+ * Structure to help in converting integrals to roman numerals
*/
struct XALAN_XSLT_EXPORT DecimalToRoman
{
enum { eMaxLetter = 2 };
- long m_postValue;
+ typedef unsigned long ValueType;
+
+ ValueType m_postValue;
XalanDOMChar m_postLetter[eMaxLetter + 1];
- long m_preValue;
+ ValueType m_preValue;
XalanDOMChar m_preLetter[eMaxLetter + 1];
};
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]