Skip to content

Commit a43df97

Browse files
fixed a bug with bool type mapping in vkext (#1304)
1 parent 0f4b004 commit a43df97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vkext/vkext-rpc-tl-serialization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ int get_full_tree_type_name(char *dst, struct tl_tree_type *tree, const char *co
440440
} else if (cur_type->name == TL_LONG || !strcmp(cur_type->id, "#")) {
441441
dst += make_tl_class_name(dst, "", "int", "", '\0');
442442
} else if (!strcmp(cur_type->id, "Bool")) {
443-
dst += make_tl_class_name(dst, "", "bool", "", '\0');
443+
dst += make_tl_class_name(dst, "", "boolean", "", '\0');
444444
} else {
445445
php_error_docref(NULL, E_ERROR,
446446
"Unexpected type %s during creating instance", cur_type->id);

0 commit comments

Comments
 (0)