summaryrefslogtreecommitdiff
path: root/functable.h
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@nathanm.com>2020-05-26 17:04:59 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2020-05-30 21:29:44 +0200
commita0fa24f92fddf638a3d064389199599d6b5e9a5b (patch)
treef9c87d4152d0cec505b4d869366ed777c7068625 /functable.h
parent5518060c399519ea0ab11deba8635e55e9e14cd9 (diff)
Remove IPos typedef which also helps to reduce casting warnings.
Diffstat (limited to 'functable.h')
-rw-r--r--functable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/functable.h b/functable.h
index c36d85b..d9babe5 100644
--- a/functable.h
+++ b/functable.h
@@ -15,7 +15,7 @@ struct functable_s {
uint32_t (* crc32) (uint32_t crc, const unsigned char *buf, uint64_t len);
void (* slide_hash) (deflate_state *s);
int32_t (* compare258) (const unsigned char *src0, const unsigned char *src1);
- int32_t (* longest_match) (deflate_state *const s, IPos cur_match);
+ int32_t (* longest_match) (deflate_state *const s, Pos cur_match);
};
ZLIB_INTERNAL extern __thread struct functable_s functable;