diff options
| author | gingerBill <bill@gingerbill.org> | 2024-02-06 17:22:13 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-02-06 17:22:13 +0000 |
| commit | 1f0b24b7359ed1c43228d0d1a18538162a7c0b85 (patch) | |
| tree | 79d6ff303dc795ec17a70caafdced532f7d3ed25 /core/dynlib | |
| parent | 327853ab92b2f2c2707f537ab1e872f5c36faed9 (diff) | |
Remove unneeded casts
Diffstat (limited to 'core/dynlib')
| -rw-r--r-- | core/dynlib/lib.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/dynlib/lib.odin b/core/dynlib/lib.odin index 906945286..30d55edae 100644 --- a/core/dynlib/lib.odin +++ b/core/dynlib/lib.odin @@ -158,8 +158,8 @@ initialize_symbols :: proc( prefixed_name: string // Do we have a symbol override tag? - if override, tag_ok := reflect.struct_tag_lookup(reflect.Struct_Tag(field.tag), "dynlib"); tag_ok { - prefixed_name = string(override) + if override, tag_ok := reflect.struct_tag_lookup(field.tag, "dynlib"); tag_ok { + prefixed_name = override } // No valid symbol override tag found, fall back to `<symbol_prefix>name`. |