 + * SPDX-License-Identifier: Apache-2.0
 + */
  /*
-  * Generated using zcbor version 0.5.1
+  * Generated using zcbor version 0.6.0
 - * https://github.com/NordicSemiconductor/zcbor
 + * https://github.com/zephyrproject-rtos/zcbor
   * Generated with a --default-max-qty of 99


 /** Which value for --default-max-qty this file was created with.
  *
@@ -21,7 +36,7 @@
  *
  *  See `zcbor --help` for more information about --default-max-qty
  */

 								    : false)))))));

 	if (!tmp_result)
@@ -132,10 +133,8 @@ static bool encode_value(zcbor_state_t *state, const struct value_ *input)
 			: (((*input)._value_choice == _value_bstr)
 				   ? ((zcbor_bstr_encode(state, (&(*input)._value_bstr))))
 				   : (((*input)._value_choice == _value_int)
-					      ? (((((*input)._value_int >=
-						    -9223372036854775807LL) &&
-						   ((*input)._value_int <=
-						    9223372036854775807LL)) ||
+					      ? (((((*input)._value_int >= INT64_MIN) &&
+						   ((*input)._value_int <= INT64_MAX)) ||
 						  (zcbor_error(state, ZCBOR_ERR_WRONG_RANGE),
 						   false)) &&
 						 (zcbor_int64_encode(state,
@@ -146,8 +145,8 @@ static bool encode_value(zcbor_state_t *state, const struct value_ *input)
 								   (&(*input)._value_float))))
 							 : (((*input)._value_choice == _value_bool)
 								    ? ((zcbor_bool_encode(
