Skip to content

Commit

Permalink
Remove abs in shared/stream.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonPadUSer committed Aug 2, 2020
1 parent d8fe1de commit 22f09b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 22f09b0

Please sign in to comment.