Simplify r42030 expression. Thanks!

svn path=/trunk/; revision=42038
This commit is contained in:
Jakub Zawadzki 2012-04-12 21:56:13 +00:00
parent aa8c8f6dfd
commit a94826528b
1 changed files with 1 additions and 1 deletions

View File

@ -1669,7 +1669,7 @@ packet_hex_print(GtkWidget *bv, const guint8 *pd, frame_data *fd,
/* XXX, mask has only 32 bit, later we can store bito&bitc, and use them (which should be faster) */
if (bitt > 0 && bitt < 32) {
bmask = ((1 << bitc) - 1) << ((8-(bitt & 0x7)) % 8); /* always? */
bmask = ((1 << bitc) - 1) << ((8-bitt) & 7);
bmask_le = 0; /* ? */
}
}