live: fix compilation
							parent
							
								
									d31142ac3e
								
							
						
					
					
						commit
						921b5cddd0
					
				|  | @ -60,7 +60,7 @@ pub fn info() &LiveReloadInfo { | ||||||
| 	// started, and the structure LiveReloadInfo will not get updated.
 | 	// started, and the structure LiveReloadInfo will not get updated.
 | ||||||
| 	// All its fields will be 0, but still safe to access.
 | 	// All its fields will be 0, but still safe to access.
 | ||||||
| 	mut x := &LiveReloadInfo{} | 	mut x := &LiveReloadInfo{} | ||||||
| 	p := &u64(&C.g_live_info) | 	mut p := &u64(&C.g_live_info) | ||||||
| 	unsafe { *p = &u64(x) }         | 	unsafe { *p = &u64(x) }         | ||||||
| 	return x | 	return x | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue