Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Commit

Permalink
Merge pull request #156 from petitchevalroux/fix-ocaml
Browse files Browse the repository at this point in the history
Fix ocaml 4.04 compatibility
  • Loading branch information
phooji authored Feb 8, 2017
2 parents 65e4790 + 10a3991 commit ec21095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/ocamlgtk/src/ml_glib.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ static value *lookup_exn_map (GQuark domain)
static void ml_raise_gerror_exn(GError *, value *) Noreturn;
static void ml_raise_gerror_exn(GError *err, value *exn)
{
CAMLlocal2(b, msg);
value b, msg;
g_assert (err && exn);
msg = copy_string(err->message);
b = alloc_small (3, 0);
Expand Down

0 comments on commit ec21095

Please sign in to comment.