From 194236a1b4ba692a2ba4775cb7dbb2c6a0248f03 Mon Sep 17 00:00:00 2001 From: Victor Chang Date: Mon, 28 Nov 2022 15:25:29 +0000 Subject: [PATCH] ICU-22214 Fix set pointer to false in sprpdata.c --- icu4c/source/test/cintltst/sprpdata.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icu4c/source/test/cintltst/sprpdata.c b/icu4c/source/test/cintltst/sprpdata.c index 4bbdc5fab6b..62388796ef1 100644 --- a/icu4c/source/test/cintltst/sprpdata.c +++ b/icu4c/source/test/cintltst/sprpdata.c @@ -141,8 +141,8 @@ getValues(uint32_t result, int32_t* value, UBool* isIndex){ } if((result>>2) == _SPREP_MAX_INDEX_VALUE){ type = USPREP_DELETE; - isIndex =false; - value = 0; + *isIndex = false; + *value = 0; } } return type; -- 2.40.0