diff options
author | Daniel Mack <daniel@zonque.org> | 2014-09-17 18:39:22 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-10-12 14:15:12 +0000 |
commit | ed0b19b94bf07056b5e0cfe64d4d05c3ebae801a (patch) | |
tree | 4c4dd80aa856bf0a4c55704c88761a2d2ab2199a /ui/gtk/bytes_view.h | |
parent | 29afac24a579b01c029b2b5404bda7a102fe2232 (diff) |
Make boolean bitmask type 64-bit wide
There are protocols out there that have 64-bit wide bit mask fields, so
make the internal representation and bitfield decoders 64-bit aware.
For this, the ws_ctz() fallback and bits_count_ones() have to be tweaked
slightly.
Change-Id: I19237b954a69c9e6c55864f281993c1e8731a233
Reviewed-on: https://code.wireshark.org/review/4158
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/gtk/bytes_view.h')
-rw-r--r-- | ui/gtk/bytes_view.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/bytes_view.h b/ui/gtk/bytes_view.h index 78b1d54524..2df3a6a9c4 100644 --- a/ui/gtk/bytes_view.h +++ b/ui/gtk/bytes_view.h @@ -41,7 +41,7 @@ void bytes_view_set_encoding(BytesView *bv, int enc); void bytes_view_set_format(BytesView *bv, int format); void bytes_view_set_highlight_style(BytesView *bv, gboolean bold); -void bytes_view_set_highlight(BytesView *bv, int start, int end, guint32 mask, int maskle); +void bytes_view_set_highlight(BytesView *bv, int start, int end, guint64 mask, int maskle); void bytes_view_set_highlight_extra(BytesView *bv, int id, int start, int end); void bytes_view_refresh(BytesView *bv); |