diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-12-26 09:59:18 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-12-26 09:59:18 +0000 |
commit | ce0d04c6d29f9eee9481f39395fd7a6aeceed7c3 (patch) | |
tree | 2ae23d14bcddcfe390f4e40ca104a32ce863db0b /ui/qt/packet_list.cpp | |
parent | 688b5671118405ac4a8e4ea86022e536672563db (diff) |
Hopefully this case is OK in C++; bit-fields can't be enums in standard
C, so....
svn path=/trunk/; revision=46764
Diffstat (limited to 'ui/qt/packet_list.cpp')
-rw-r--r-- | ui/qt/packet_list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/packet_list.cpp b/ui/qt/packet_list.cpp index f2d5b6c7d6..fdf2877f2c 100644 --- a/ui/qt/packet_list.cpp +++ b/ui/qt/packet_list.cpp @@ -427,7 +427,7 @@ void PacketList::selectionChanged (const QItemSelection & selected, const QItemS for (src_le = cap_file_->edt->pi.data_src; src_le != NULL; src_le = src_le->next) { source = (struct data_source *)src_le->data; - byte_view_tab_->addTab(get_data_source_name(source), get_data_source_tvb(source), cap_file_->edt->tree, proto_tree_, cap_file_->current_frame->flags.encoding); + byte_view_tab_->addTab(get_data_source_name(source), get_data_source_tvb(source), cap_file_->edt->tree, proto_tree_, (packet_char_enc)cap_file_->current_frame->flags.encoding); } byte_view_tab_->setCurrentIndex(0); } |