summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Nelson <ajnelson@cs.ucsc.edu>2011-08-10 20:56:33 -0700
committerRichard W.M. Jones <rjones@redhat.com>2011-08-11 18:58:11 +0100
commit0aa3fc0092b057bf496ceb590bd4b4ac0fc9017d (patch)
tree74431d37fe8c8668787e06052028865bb63eceae
parentee947dd4e44bb407a8b9e4cd33a0a2e25077fa6b (diff)
downloadhivex-0aa3fc0092b057bf496ceb590bd4b4ac0fc9017d.tar.gz
hivex-0aa3fc0092b057bf496ceb590bd4b4ac0fc9017d.tar.xz
hivex-0aa3fc0092b057bf496ceb590bd4b4ac0fc9017d.zip
Correct 32-bit to 64-bit call
-rwxr-xr-xgenerator/generator.ml2
1 files changed, 1 insertions, 1 deletions
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";