From 5981a508d2d112a9a13852459bb11ed092a402a7 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sat, 30 Apr 2022 20:48:29 +0100 Subject: [PATCH] u/sink: Fix conversion warnings --- src/xrt/auxiliary/util/u_sink_converter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xrt/auxiliary/util/u_sink_converter.c b/src/xrt/auxiliary/util/u_sink_converter.c index 0d1ae8bc8..208eebed1 100644 --- a/src/xrt/auxiliary/util/u_sink_converter.c +++ b/src/xrt/auxiliary/util/u_sink_converter.c @@ -404,10 +404,10 @@ from_BAYER_GR8_to_R8G8B8(struct xrt_frame *dst_frame, uint32_t w, uint32_t h, si SINK_TRACE_MARKER(); const uint8_t *src_data = data; - uint32_t src_stride = stride; + size_t src_stride = stride; uint8_t *dst_data = dst_frame->data; - uint32_t dst_stride = dst_frame->stride; + size_t dst_stride = dst_frame->stride; for (uint32_t y = 0; y < h; y++) { const uint8_t *src0 = src_data + (y * 2) * src_stride;