git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1accb67
)
ocaml/guestfs_c.c: avoid warning about initialization discarding "const"
author
Jim Meyering
<meyering@redhat.com>
Thu, 27 Aug 2009 10:36:25 +0000
(12:36 +0200)
committer
Jim 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
patch
|
blob
|
history
diff --git
a/ocaml/guestfs_c.c
b/ocaml/guestfs_c.c
index
9a7454d
..
62d42d3
100644
(file)
--- 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,