From e02a2ea4936324379b02c5a1d4878b2da0961bd9 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Wed, 16 Aug 2023 11:55:12 +0200 Subject: [PATCH] fosphor/cl: Fix init type in cl_queue_clear_buffers Signed-off-by: Sylvain Munaut --- lib/fosphor/cl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fosphor/cl.c b/lib/fosphor/cl.c index 039c89b..0b692b7 100644 --- a/lib/fosphor/cl.c +++ b/lib/fosphor/cl.c @@ -408,7 +408,7 @@ cl_queue_clear_buffers(struct fosphor *self) { struct fosphor_cl_state *cl = self->cl; float noise_floor, color[4] = {0.0f, 0.0f, 0.0f, 0.0f}; - size_t img_origin[3] = {0.0f, 0.0f, 0.0f}, img_region[3]; + size_t img_origin[3] = {0, 0, 0}, img_region[3]; cl_int err; /* Configure noise floor to the bottom of the scale */