diff --git a/src/shared/stream.cpp b/src/shared/stream.cpp index d2d8199b3..2f6dbda1b 100644 --- a/src/shared/stream.cpp +++ b/src/shared/stream.cpp @@ -239,7 +239,7 @@ int crcstream(stream *f) size_t len = 0; char *buf = loadstream(f, &len, false); if(!buf) return 0; - int crc = abs(int(crc32(0, (const Bytef *)buf, len))); + int crc = std::abs(int(crc32(0, (const Bytef *)buf, len))); delete[] buf; return crc; }