diff options
author | Jim Meyering <meyering@redhat.com> | 2009-08-27 12:36:25 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-08-27 13:23:52 +0200 |
commit | 27420d5dcf7ba550751323ea2f27cf45b9146a91 (patch) | |
tree | 572838bb88ca29a1c0afcd36fedf2088a6bb5364 /ocaml | |
parent | 1accb67720596bd946809d4032661f5d3adb7a26 (diff) | |
download | libguestfs-27420d5dcf7ba550751323ea2f27cf45b9146a91.tar.gz libguestfs-27420d5dcf7ba550751323ea2f27cf45b9146a91.tar.xz libguestfs-27420d5dcf7ba550751323ea2f27cf45b9146a91.zip |
ocaml/guestfs_c.c: avoid warning about initialization discarding "const"
* ocaml/guestfs_c.c (guestfs_custom_operations): Add a cast.
Diffstat (limited to 'ocaml')
-rw-r--r-- | ocaml/guestfs_c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ocaml/guestfs_c.c b/ocaml/guestfs_c.c index 9a7454d5..62d42d3f 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, |