mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 12:48:14 +00:00
Fix double-pointer indexing bug #396
This commit is contained in:
+1
-3
@@ -5773,9 +5773,7 @@ void check_set_mode_with_indirection(Operand *o, bool indirection) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool check_set_index_data(Operand *o, Type *type, bool indirection, i64 *max_count) {
|
bool check_set_index_data(Operand *o, Type *t, bool indirection, i64 *max_count) {
|
||||||
Type *t = base_type(type_deref(type));
|
|
||||||
|
|
||||||
switch (t->kind) {
|
switch (t->kind) {
|
||||||
case Type_Basic:
|
case Type_Basic:
|
||||||
if (t->Basic.kind == Basic_string) {
|
if (t->Basic.kind == Basic_string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user