You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2001/09/27 20:27:42 UTC
cvs commit: xml-xalan/c/samples/XalanTransformerCallback XalanTransformerCallback.cpp
dbertoni 01/09/27 11:27:42
Modified: c/samples/XalanTransformerCallback
XalanTransformerCallback.cpp
Log:
32/64-bit fixes.
Revision Changes Path
1.5 +7 -7 xml-xalan/c/samples/XalanTransformerCallback/XalanTransformerCallback.cpp
Index: XalanTransformerCallback.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/samples/XalanTransformerCallback/XalanTransformerCallback.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- XalanTransformerCallback.cpp 2001/08/10 17:57:23 1.4
+++ XalanTransformerCallback.cpp 2001/09/27 18:27:42 1.5
@@ -29,10 +29,10 @@
assert(m_file != 0);
}
- unsigned long
+ CallbackSizeType
write(
- const char* theData,
- unsigned long theLength)
+ const char* theData,
+ CallbackSizeType theLength)
{
return fwrite(theData, sizeof(char), theLength, m_file);
}
@@ -57,11 +57,11 @@
// This is the write callback function, which casts the handle
// to the appropriate type, then calls the write() member function
// on the CallbackHandler class.
-unsigned long
+CallbackSizeType
writeCallback(
- const char* theData,
- unsigned long theLength,
- void* theHandle)
+ const char* theData,
+ CallbackSizeType theLength,
+ void* theHandle)
{
#if defined(XALAN_OLD_STYLE_CASTS)
return ((CallbackHandler*)theHandle)->write(theData, theLength);
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org