summaryrefslogtreecommitdiff
path: root/crc32.c
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2019-02-03 19:54:46 -0800
committerMark Adler <madler@alumni.caltech.edu>2019-02-03 19:54:46 -0800
commitaec89faa2e366e5cff501310771afaf16289c6ad (patch)
tree24c2abef29ec015d25b71ca871e3d1fdc9c83228 /crc32.c
parent0d36ec47f310478549c0864f215ab5c0114c49ba (diff)
downloadzlib-aec89faa2e366e5cff501310771afaf16289c6ad.tar.gz
Correct comment in crc32.c.
Diffstat (limited to 'crc32.c')
-rw-r--r--crc32.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crc32.c b/crc32.c
index ed39710..f6cd52f 100644
--- a/crc32.c
+++ b/crc32.c
@@ -530,7 +530,8 @@ local z_crc_t multmodp(a, b)
}
/*
- Return x^(n+k) modulo p(x). Requires that x2n_table[] has been initialized.
+ Return x^(n * 2^k) modulo p(x). Requires that x2n_table[] has been
+ initialized.
*/
local z_crc_t x2nmodp(n, k)
z_off64_t n;