diff options
author | ayhanyalcinsoy <ayhanyalcinsoy@pisilinux.org> | 2019-12-27 15:23:57 +0300 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-01-08 17:47:54 +0100 |
commit | c1599fc5c9800086548595d1f1464619a7024d06 (patch) | |
tree | bc73d11d1a8791d848f692234752c66205b09152 /hwpfilter | |
parent | a86a2a1c1ceb7203857d4317913c5b1bb9feb4aa (diff) |
tdf#96505:Get rid of cargo cult long integer literals
Change-Id: I6ee1f79d4b96c4ed161eff11c1b75574d89902dd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85843
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hgzip.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hwpfilter/source/hgzip.cxx b/hwpfilter/source/hgzip.cxx index e813cd01b98e..d26ea22c8824 100644 --- a/hwpfilter/source/hgzip.cxx +++ b/hwpfilter/source/hgzip.cxx @@ -66,7 +66,7 @@ gz_stream *gz_open(HStream & _stream) //s->_inputstream = NULL; s->z_err = Z_OK; s->z_eof = 0; - s->crc = crc32(0L, Z_NULL, 0); + s->crc = crc32(0, Z_NULL, 0); s->msg = nullptr; s->mode = 'r'; @@ -194,7 +194,7 @@ size_t gz_read(gz_stream * file, voidp buf, unsigned len) else if (s->z_err == Z_OK) { inflateReset(&(s->stream)); - s->crc = crc32(0L, Z_NULL, 0); + s->crc = crc32(0, Z_NULL, 0); } } if (s->z_err != Z_OK || s->z_eof) |