Browse Source

fixed int64 cast / dynget (#10828)

Nicolas Cannasse 2 years ago
parent
commit
b2f0e1bc4f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/generators/hl2c.ml

+ 1 - 1
src/generators/hl2c.ml

@@ -576,7 +576,7 @@ let generate_function ctx f =
 	in
 
 	let type_value_opt t =
-		match t with HF32 | HF64 -> "" | _ -> "," ^ type_value t
+		match t with HF32 | HF64 | HI64 -> "" | _ -> "," ^ type_value t
 	in
 
 	let dyn_call r f pl =