Commit 67eb1e22 authored by Matthias Braun's avatar Matthias Braun
Browse files

irio: only set alignment if > 0

parent 662a384f
......@@ -1724,7 +1724,8 @@ static void read_type(read_env_t *env)
return;
finish_type:
set_type_alignment_bytes(type, align);
if (align > 0)
set_type_alignment_bytes(type, align);
type->flags = flags;
if (state == layout_fixed)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment