git.annexia.org
/
hivex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41a77ad
)
ocaml: Fix binding for Hivex.value_type
author
Alex Nelson
<ajnelson@cs.ucsc.edu>
Wed, 31 Aug 2011 00:47:01 +0000
(17:47 -0700)
committer
Richard W.M. Jones
<rjones@redhat.com>
Wed, 31 Aug 2011 09:25:06 +0000
(10:25 +0100)
generator/generator.ml
patch
|
blob
|
history
diff --git
a/generator/generator.ml
b/generator/generator.ml
index
de103ed
..
c98e625
100755
(executable)
--- 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);
}