tpaviot/oce — pull request #226 by tpaviot (2012-01-12 17:13:48+00:00)
Title: Bugfix: std::streamsize replacement for int

Patch submitted by Simon Floery, please review.

"""
I was trying OpenCascade's XML parser (LDOM*) the other day and stumbled across a bug that appears at least on recent Ubuntu systems (depends on how the platform defines std::streamsize). In src/LDOM/LDOM_OSStream.hxx, LDOM_SBuffer::xsputn is declared with int arguments to overload std::streambuf::xsputn, however std::streamsize arguments would be correct (cf. http://www.cplusplus.com/reference/iostream/streambuf/xsputn/).
"""