diff options
Diffstat (limited to 'src/lib/VSDInternalStream.cpp')
-rw-r--r-- | src/lib/VSDInternalStream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/VSDInternalStream.cpp b/src/lib/VSDInternalStream.cpp index 1873eac..0fdcba3 100644 --- a/src/lib/VSDInternalStream.cpp +++ b/src/lib/VSDInternalStream.cpp @@ -80,7 +80,7 @@ const unsigned char *VSDInternalStream::read(unsigned long numBytes, unsigned lo numBytesRead = 0; if (numBytes == 0) - return 0; + return nullptr; int numBytesToRead; @@ -92,7 +92,7 @@ const unsigned char *VSDInternalStream::read(unsigned long numBytes, unsigned lo numBytesRead = numBytesToRead; // about as paranoid as we can be.. if (numBytesToRead == 0) - return 0; + return nullptr; long oldOffset = m_offset; m_offset += numBytesToRead; |