From 25e19867080ff47d879ba48e860612c1527cec68 Mon Sep 17 00:00:00 2001 From: Jean-Roland Date: Fri, 14 Jun 2024 15:47:18 +0200 Subject: [PATCH] fix: conversion issue --- tests/z_msgcodec_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/z_msgcodec_test.c b/tests/z_msgcodec_test.c index 0937f42ac..ab7a421e7 100644 --- a/tests/z_msgcodec_test.c +++ b/tests/z_msgcodec_test.c @@ -785,7 +785,7 @@ void subscriber_declaration(void) { _z_decl_queryable_t gen_queryable_declaration(void) { _z_decl_queryable_t e_qd = {._keyexpr = gen_keyexpr(), ._id = (uint32_t)gen_uint64(), - ._ext_queryable_info = {._complete = gen_uint8(), ._distance = (uint32_t)gen_zint()}}; + ._ext_queryable_info = {._complete = gen_uint8(), ._distance = gen_uint16()}}; return e_qd; }