Fix various compiler warnings in asmrun.

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12128 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Benedikt Meurer 2012-02-05 09:56:23 +00:00
parent a775cb815b
commit b5eec7890b
2 changed files with 4 additions and 3 deletions

View File

@ -209,7 +209,7 @@ void caml_array_bound_error(void)
}
int caml_is_special_exception(value exn) {
return exn == caml_exn_Match_failure
|| exn == caml_exn_Assert_failure
|| exn == caml_exn_Undefined_recursive_module;
return exn == (value) caml_exn_Match_failure
|| exn == (value) caml_exn_Assert_failure
|| exn == (value) caml_exn_Undefined_recursive_module;
}

View File

@ -20,6 +20,7 @@
#include "callback.h"
#include "backtrace.h"
#include "custom.h"
#include "debugger.h"
#include "fail.h"
#include "freelist.h"
#include "gc.h"