forked from osmocom/wireshark
Add parenthesis around some generated code so it compiles. This new
code only shows up when the X11 dissector is updated from the latest xcbproto & mesa, which I will commit real soon now (RSN). Change-Id: Ic750df3b4406f107fd850ade891ee093054c8d6d Reviewed-on: https://code.wireshark.org/review/5882 Reviewed-by: Stephen Fisher <sfisher@sdf.org>
This commit is contained in:
parent
fbd6caa36c
commit
0df4eecd55
|
@ -765,7 +765,7 @@ sub dissect_element($$$$$;$$)
|
|||
$length += $align - $length % $align;
|
||||
}
|
||||
if ($adjustlength) {
|
||||
say $impl $indent.'length = (length + '.($align-1).' & ~'.($align-1).';';
|
||||
say $impl $indent.'length = ((length + '.($align-1).') & ~'.($align-1).');';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue