Skip to content

Commit

Permalink
fix pointer assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
kbkpbot committed Jan 3, 2025
1 parent dc2d152 commit 4298424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v/live/common.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4298424

Please sign in to comment.