From: Jim Meyering Date: Thu, 27 Aug 2009 10:36:25 +0000 (+0200) Subject: ocaml/guestfs_c.c: avoid warning about initialization discarding "const" X-Git-Tag: 1.0.69~27 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=27420d5dcf7ba550751323ea2f27cf45b9146a91;hp=1accb67720596bd946809d4032661f5d3adb7a26 ocaml/guestfs_c.c: avoid warning about initialization discarding "const" * ocaml/guestfs_c.c (guestfs_custom_operations): Add a cast. --- diff --git a/ocaml/guestfs_c.c b/ocaml/guestfs_c.c index 9a7454d..62d42d3 100644 --- a/ocaml/guestfs_c.c +++ b/ocaml/guestfs_c.c @@ -51,7 +51,7 @@ guestfs_finalize (value gv) } static struct custom_operations guestfs_custom_operations = { - "guestfs_custom_operations", + (char *) "guestfs_custom_operations", guestfs_finalize, custom_compare_default, custom_hash_default,