From 42984242cacfe8ae9a79568de64d85681e60f603 Mon Sep 17 00:00:00 2001 From: kbkpbot Date: Fri, 3 Jan 2025 16:01:42 +0800 Subject: [PATCH] fix pointer assignment --- vlib/v/live/common.c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/live/common.c.v b/vlib/v/live/common.c.v index 9ba61c3bd9f704..186ef0be4e3c81 100644 --- a/vlib/v/live/common.c.v +++ b/vlib/v/live/common.c.v @@ -59,7 +59,7 @@ pub fn info() &LiveReloadInfo { mut x := &LiveReloadInfo{} unsafe { mut p := &u64(&C.g_live_info) - *p = &u64(x) + *p = u64(x) _ = p } return x