aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/fossil/check.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/fossil/check.c')
-rw-r--r--src/cmd/fossil/check.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/fossil/check.c b/src/cmd/fossil/check.c
index 53a1bf20..6aa90fc7 100644
--- a/src/cmd/fossil/check.c
+++ b/src/cmd/fossil/check.c
@@ -446,12 +446,12 @@ struct MetaChunk {
};
static int
-offsetCmp(void *s0, void *s1)
+offsetCmp(const void *s0, const void *s1)
{
MetaChunk *mc0, *mc1;
- mc0 = s0;
- mc1 = s1;
+ mc0 = (MetaChunk*)s0;
+ mc1 = (MetaChunk*)s1;
if(mc0->offset < mc1->offset)
return -1;
if(mc0->offset > mc1->offset)