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;