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:
Stephen Fisher 2014-12-19 13:26:22 -07:00
parent fbd6caa36c
commit 0df4eecd55
1 changed files with 1 additions and 1 deletions

View File

@ -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).');';
}
}
}