Hopefully this case is OK in C++; bit-fields can't be enums in standard
C, so.... svn path=/trunk/; revision=46764
This commit is contained in:
parent
688b567111
commit
ce0d04c6d2
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue