[java] fix char cast

Summary: A java char is not the same as a C char.

Reviewed By: ezgicicek

Differential Revision: D24620096

fbshipit-source-id: 9a1e345ca
master
Nikos Gorogiannis 4 years ago committed by Facebook GitHub Bot
parent 4fb2fde4af
commit b6eb480597

@ -147,7 +147,7 @@ val java_short : t
val boolean : t
val char : t
val char : t [@@warning "-32"]
val int : t
(** signed int type *)

@ -47,7 +47,7 @@ let cast_type = function
| JBir.I2B ->
Typ.boolean
| JBir.I2C ->
Typ.char
Typ.java_char
| JBir.I2S ->
Typ.java_short

Loading…
Cancel
Save