live: fix compilation

pull/5965/head
Delyan Angelov 2020-07-24 08:45:28 +03:00
parent d31142ac3e
commit 921b5cddd0
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ pub fn info() &LiveReloadInfo {
// started, and the structure LiveReloadInfo will not get updated.
// All its fields will be 0, but still safe to access.
mut x := &LiveReloadInfo{}
p := &u64(&C.g_live_info)
mut p := &u64(&C.g_live_info)
unsafe { *p = &u64(x) }
return x
}