summaryrefslogtreecommitdiffstats
path: root/ocaml
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-27 12:36:25 +0200
committerJim Meyering <meyering@redhat.com>2009-08-27 13:23:52 +0200
commit27420d5dcf7ba550751323ea2f27cf45b9146a91 (patch)
tree572838bb88ca29a1c0afcd36fedf2088a6bb5364 /ocaml
parent1accb67720596bd946809d4032661f5d3adb7a26 (diff)
downloadlibguestfs-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.c2
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,