aboutsummaryrefslogtreecommitdiff
path: root/src/myriadstream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/myriadstream.cpp')
-rw-r--r--src/myriadstream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/myriadstream.cpp b/src/myriadstream.cpp
index b0b1d05..6623b2b 100644
--- a/src/myriadstream.cpp
+++ b/src/myriadstream.cpp
@@ -49,7 +49,7 @@ size_t Bu::MyriadStream::read( void *pBuf, size_t nBytes )
49 sio << "MyriadStream: read: " << __LINE__ << ": Started, asked to read " << nBytes << "b." 49 sio << "MyriadStream: read: " << __LINE__ << ": Started, asked to read " << nBytes << "b."
50 << sio.nl; 50 << sio.nl;
51#endif 51#endif
52 if( nBytes > pStream->iSize-iPos ) 52 if( nBytes > (size_t)pStream->iSize-iPos )
53 nBytes = pStream->iSize-iPos; 53 nBytes = pStream->iSize-iPos;
54 if( nBytes <= 0 ) 54 if( nBytes <= 0 )
55 return 0; 55 return 0;