Skip to content

Commit 34afe25

Browse files
committed
Don't call java_array_type('\0'). Fixes #383
1 parent 05652d2 commit 34afe25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java_bytecode/java_bytecode_convert_class.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ Function: java_bytecode_convert_classt::add_array_types
250250

251251
void java_bytecode_convert_classt::add_array_types()
252252
{
253-
const char letters[]="ijsbcfdza";
253+
const std::string letters="ijsbcfdza";
254254

255255
for(const char l : letters)
256256
{

0 commit comments

Comments
 (0)