From: Alex Nelson Date: Thu, 11 Aug 2011 03:56:33 +0000 (-0700) Subject: Correct 32-bit to 64-bit call X-Git-Tag: 1.2.8~4 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;ds=inline;h=0aa3fc0092b057bf496ceb590bd4b4ac0fc9017d;p=hivex.git Correct 32-bit to 64-bit call --- diff --git a/generator/generator.ml b/generator/generator.ml index 31478cd..de911f1 100755 --- a/generator/generator.ml +++ b/generator/generator.ml @@ -1771,7 +1771,7 @@ static void raise_closed (const char *) Noreturn; pr " rv = copy_type_value (r, len, t);\n"; pr " free (r);\n" | RInt32 -> pr " rv = caml_copy_int32 (r);\n" - | RInt64 -> pr " rv = caml_copy_int32 (r);\n" + | RInt64 -> pr " rv = caml_copy_int64 (r);\n" ); pr " CAMLreturn (rv);\n";