ALT Linux repositórios
Group :: Desenvolvimento/C
RPM: swig
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: fix-ocaml-int64-type.patch
Download
Download
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