diff --git a/compiler-rt/test/hwasan/TestCases/Linux/decorate-proc-maps.c b/compiler-rt/test/hwasan/TestCases/Linux/decorate-proc-maps.c index 5a9208809477f15198cdf665c278a6608536f94f..011bc96818a8e6af3124ade7428dff7cc54f41d3 100644 --- a/compiler-rt/test/hwasan/TestCases/Linux/decorate-proc-maps.c +++ b/compiler-rt/test/hwasan/TestCases/Linux/decorate-proc-maps.c @@ -51,5 +51,5 @@ int main(void) { void * volatile res2 = malloc(100000); pthread_create(&t, 0, ThreadFn, 0); pthread_join(t, 0); - return (int)(size_t)res; + return 0; // OHOS_LOCAL }