[ https://issues.apache.org/jira/browse/XERCESC-1332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Kolpackov resolved XERCESC-1332. -------------------------------------- Resolution: Fixed Fix Version/s: 2.8.0 > 64-bit Windows build failures > ----------------------------- > > Key: XERCESC-1332 > URL: https://issues.apache.org/jira/browse/XERCESC-1332 > Project: Xerces-C++ > Issue Type: Bug > Components: Samples/Tests > Affects Versions: 2.6.0 > Environment: Windows XP a64, Visual Studio 2005 Beta > Reporter: Robert Buck > Fix For: 2.8.0 > > > Issue: Coding error; longs are not 64-bits on 64-bit Windows. > [1] > SimpleHashPtr.cpp > ..\..\..\..\..\tests\MemHandlerTest\SimpleHashPtr.cpp(32) : error C2440: > 'type cast' : cannot convert from 'const void *const ' to 'long' > The target is not large enough > unsigned int SimpleHashPtr::getHashVal(const void *const key, unsigned int > mod) > { > >> return ((long)key % (unsigned long)mod); > } > [2] > PSVIWriterHandlers.cpp > ..\..\..\..\..\samples\PSVIWriter\PSVIWriterHandlers.cpp(1618) : error C2440: > 'type cast' : cannot convert from 'xercesc_2_6::XSObject *' to 'unsigned long' > The target is not large enough > >> XMLString::binToText((unsigned long)obj, objLoc, 8, 16); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]