diff options
Diffstat (limited to 'common/installshield_cab.cpp')
-rw-r--r-- | common/installshield_cab.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/installshield_cab.cpp b/common/installshield_cab.cpp index e9e8586185..a7fcf81607 100644 --- a/common/installshield_cab.cpp +++ b/common/installshield_cab.cpp @@ -174,7 +174,7 @@ const ArchiveMemberPtr InstallShieldCabinet::getMember(const String &name) const SeekableReadStream *InstallShieldCabinet::createReadStreamForMember(const String &name) const { if (!_map.contains(name)) - return 0; + return nullptr; const FileEntry &entry = _map[name]; @@ -195,7 +195,7 @@ SeekableReadStream *InstallShieldCabinet::createReadStreamForMember(const String if (!result) { warning("failed to inflate CAB file '%s'", name.c_str()); free(dst); - return 0; + return nullptr; } return new MemoryReadStream(dst, entry.uncompressedSize, DisposeAfterUse::YES); |