summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-12-02 11:35:57 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-12-02 11:35:57 +0000
commitfaf1cd50492fd014267c22a0e988a75f1c337364 (patch)
tree457a0a6a994f71f11fb39d0ea7622b4ee59c8229
parent3451d73a693091ae1a33e7dbefbe56c1b93f426a (diff)
downloadlibguestfs-faf1cd50492fd014267c22a0e988a75f1c337364.tar.gz
libguestfs-faf1cd50492fd014267c22a0e988a75f1c337364.tar.xz
libguestfs-faf1cd50492fd014267c22a0e988a75f1c337364.zip
Fix argv struct mixup over Int/Int64.
-rw-r--r--generator/generator_c.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/generator/generator_c.ml b/generator/generator_c.ml
index d8b13a57..24f4e2cb 100644
--- 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 -> "int64_t "
- | Int64 n -> "int "
+ | Int n -> "int "
+ | Int64 n -> "int64_t "
| String n -> "const char *"
| _ -> assert false (* checked in generator_checks *) in
let uc_shortname = String.uppercase shortname in