mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
u/sink: Fix conversion warnings
This commit is contained in:
parent
1afc18108e
commit
5981a508d2
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue