Ignore:
Timestamp:
28/04/2007 18:13:34 (5 years ago)
Author:
chris
Message:

Fix inability to handle streams over 2GB properly. (refs #3)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/chris/merge/lib/common/PartialReadStream.cpp

    r217 r1586  
    1717// 
    1818// Function 
    19 //              Name:    PartialReadStream::PartialReadStream(IOStream &, int) 
    20 //              Purpose: Constructor, taking another stream and the number of bytes 
    21 //                               to be read from it. 
     19//              Name:    PartialReadStream::PartialReadStream(IOStream &, 
     20//                       pos_type) 
     21//              Purpose: Constructor, taking another stream and the number of 
     22//                       bytes to be read from it. 
    2223//              Created: 2003/08/26 
    2324// 
    2425// -------------------------------------------------------------------------- 
    25 PartialReadStream::PartialReadStream(IOStream &rSource, int BytesToRead) 
     26PartialReadStream::PartialReadStream(IOStream &rSource, 
     27        pos_type BytesToRead) 
    2628        : mrSource(rSource), 
    2729          mBytesLeft(BytesToRead) 
Note: See TracChangeset for help on using the changeset viewer.