git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3451d73
)
Fix argv struct mixup over Int/Int64.
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 2 Dec 2010 11:35:57 +0000
(11:35 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 2 Dec 2010 11:35:57 +0000
(11:35 +0000)
generator/generator_c.ml
patch
|
blob
|
history
diff --git
a/generator/generator_c.ml
b/generator/generator_c.ml
index
d8b13a5
..
24f4e2c
100644
(file)
--- a/
generator/generator_c.ml
+++ b/
generator/generator_c.ml
@@
-511,8
+511,8
@@
extern void *guestfs_get_private (guestfs_h *g, const char *key);
let c_type =
match argt with
| Bool n -> "int "
- | Int n -> "int
64_t
"
- | Int64 n -> "int "
+ | Int n -> "int "
+ | Int64 n -> "int
64_t
"
| String n -> "const char *"
| _ -> assert false (* checked in generator_checks *) in
let uc_shortname = String.uppercase shortname in