mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
ocaml/guestfs_c.c: avoid warning about initialization discarding "const"
* ocaml/guestfs_c.c (guestfs_custom_operations): Add a cast.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user