Skip to content

Commit

Permalink
unix/modjni: Add missing const qualifier.
Browse files Browse the repository at this point in the history
  • Loading branch information
yangfl authored and dpgeorge committed Aug 11, 2022
1 parent 9c6fd97 commit b6651a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/unix/modjni.c
Expand Up @@ -376,7 +376,7 @@ STATIC const char *strprev(const char *s, char c) {

STATIC bool py2jvalue(const char **jtypesig, mp_obj_t arg, jvalue *out) {
const char *arg_type = *jtypesig;
mp_obj_type_t *type = mp_obj_get_type(arg);
const mp_obj_type_t *type = mp_obj_get_type(arg);

if (type == &mp_type_str) {
if (IMATCH(arg_type, "java.lang.String") || IMATCH(arg_type, "java.lang.Object")) {
Expand Down

0 comments on commit b6651a7

Please sign in to comment.