Skip to content

Commit 69a88d2

Browse files
authored
Merge pull request #75 from SpringMT/fix/incompatible-function-pointer
fix: incompatible function pointer types at streaming_decompress_compact and streaming_compress_compact
2 parents 828f4cb + bbc4415 commit 69a88d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/zstdruby/streaming_compress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ streaming_compress_memsize(const void *p)
3636
}
3737

3838
#ifdef HAVE_RB_GC_MARK_MOVABLE
39-
static size_t
39+
static void
4040
streaming_compress_compact(void *p)
4141
{
4242
struct streaming_compress_t *sc = p;

ext/zstdruby/streaming_decompress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ streaming_decompress_memsize(const void *p)
3535
}
3636

3737
#ifdef HAVE_RB_GC_MARK_MOVABLE
38-
static size_t
38+
static void
3939
streaming_decompress_compact(void *p)
4040
{
4141
struct streaming_decompress_t *sd = p;

0 commit comments

Comments
 (0)