Permalink
Browse files

include/jcgoutf.c (jcgo_utfMakeString): Remove redundant cast to jcha…

…rArr
  • Loading branch information...
1 parent 591bd36 commit 0b262da57d0c5a70466db977852f690e8ee6e4c8 @ivmai committed May 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/jcgoutf.c
View
@@ -185,7 +185,7 @@ STATIC java_lang_String CFASTCALL jcgo_utfMakeString( CONST char *utfstrz )
(java_lang_String)jcgo_newObject((jvtable)&java_lang_String_methods);
JCGO_FIELD_NZACCESS(str, value) = (void *)arr;
JCGO_FIELD_NZACCESS(str, count) = count;
- jcgo_utfToChars(utfstrz, (jcharArr)arr, 0, count);
+ jcgo_utfToChars(utfstrz, arr, 0, count);
return str;
}

0 comments on commit 0b262da

Please sign in to comment.