diff --git a/swig/Lib/ocaml/ocamldec.swg b/swig/Lib/ocaml/ocamldec.swg index 96e1cd2..899741c 100644 --- a/swig/Lib/ocaml/ocamldec.swg +++ b/swig/Lib/ocaml/ocamldec.swg @@ -101,9 +101,9 @@ SWIGEXT { #ifndef ARCH_ALIGN_INT64 -#define SWIG_Int64_val(v) (*((int64 *) SWIG_Data_custom_val(v))) +#define SWIG_Int64_val(v) (*((int64_t *) SWIG_Data_custom_val(v))) #else -CAMLextern int64 Int64_val(caml_value_t v); +CAMLextern int64_t Int64_val(caml_value_t v); #define SWIG_Int64_val(v) Int64_val(v) #endif