ocaml: Fix compatibility with OCaml 4.10.
commit8a84d9d44f2b38dc4fc6063222b1e1c5b5731b0d
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 25 Jan 2020 12:00:37 +0000 (25 12:00 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 25 Jan 2020 12:04:02 +0000 (25 12:04 +0000)
tree898ed9fde20133e54e3545308fcc0e4ac70f2872
parent3e770b6d6620a62546849a2863638041c0b00640
ocaml: Fix compatibility with OCaml 4.10.

String_val now returns const char *, so it cannot be the destination
for memcpy.  The compiler itself seems to use &Byte_u (strv, 0) in
this case, so let's do that.
plugins/ocaml/ocaml.c