ocaml/guestfs_c.c: avoid warning about initialization discarding "const"
authorJim Meyering <meyering@redhat.com>
Thu, 27 Aug 2009 10:36:25 +0000 (12:36 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 27 Aug 2009 11:23:52 +0000 (13:23 +0200)
* ocaml/guestfs_c.c (guestfs_custom_operations): Add a cast.

ocaml/guestfs_c.c

index 9a7454d..62d42d3 100644 (file)
@@ -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,