Changeset 56191

Show
Ignore:
Timestamp:
10/09/08 02:42:28 (6 weeks ago)
Author:
VZ
Message:

another attempt at fixing VC6 compilation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • wxWidgets/branches/WX_2_8_BRANCH/tests/streams/fileback.cpp

    r56187 r56191  
    2121 
    2222#ifdef __VISUALC6__ 
    23 // need this to be able to use CPPUNIT_ASSERT_EQUAL with wxFileOffset objects 
     23// there is no support for int64 output in VC6 stream classes so output it as 
     24// long which should work as long as we don't use >2GB files in this test... 
    2425static std::ostream& operator<<(std::ostream& ostr, const wxFileOffset& fo) 
    2526{ 
    26     ostr << fo; 
     27    ostr << (long)fo; 
    2728    return ostr; 
    2829}