From: Alex Nelson Date: Wed, 31 Aug 2011 00:47:01 +0000 (-0700) Subject: ocaml: Fix binding for Hivex.value_type X-Git-Tag: 1.3.2~17 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=93ef56f70db21ddac9bee5e9bde402adbdf27a3f;p=hivex.git ocaml: Fix binding for Hivex.value_type --- diff --git a/generator/generator.ml b/generator/generator.ml index de103ed..c98e625 100755 --- a/generator/generator.ml +++ b/generator/generator.ml @@ -1946,7 +1946,7 @@ copy_type_len (size_t len, hive_type t) v = Val_hive_type (t); Store_field (rv, 0, v); v = Val_int (len); - Store_field (rv, 1, len); + Store_field (rv, 1, v); CAMLreturn (rv); }