From b7095746185ec27829565133f40bdb0841fcb025 Mon Sep 17 00:00:00 2001 From: Mark Kittisopikul Date: Thu, 30 May 2024 10:34:42 -0400 Subject: [PATCH] Update filters/H5Zblosc/src/H5Zblosc.jl Co-authored-by: Mustafa Mohamad --- filters/H5Zblosc/src/H5Zblosc.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filters/H5Zblosc/src/H5Zblosc.jl b/filters/H5Zblosc/src/H5Zblosc.jl index a96566919..2806e322b 100644 --- a/filters/H5Zblosc/src/H5Zblosc.jl +++ b/filters/H5Zblosc/src/H5Zblosc.jl @@ -122,7 +122,7 @@ function blosc_filter( # See https://github.com/JuliaLang/julia/issues/43402 # Resolved in https://github.com/JuliaLang/julia/pull/43408 outbuf_size, cbytes, blocksize = Blosc.cbuffer_sizes(in) - outbuf_size <= && return Csize_t(0) + outbuf_size <= 0 && return Csize_t(0) outbuf = Libc.malloc(outbuf_size) outbuf == C_NULL && return Csize_t(0) status = Blosc.blosc_decompress(in, outbuf, outbuf_size)