|
|
@@ -229,7 +229,7 @@ void WritePackageFile(const String& fileName, const String& rootDir)
|
|
|
|
|
|
unsigned packedSize = LZ4_compressHC((const char*)&buffer[pos], (char*)compressBuffer.Get(), unpackedSize);
|
|
|
if (!packedSize)
|
|
|
- ErrorExit("LZ4 compression failed for file " + entries_[i].name_ + " at offset " + pos);
|
|
|
+ ErrorExit("LZ4 compression failed for file " + entries_[i].name_ + " at offset " + String(pos));
|
|
|
|
|
|
dest.WriteUShort(unpackedSize);
|
|
|
dest.WriteUShort(packedSize);
|