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:
Guy Harris 2012-12-26 09:59:18 +00:00
parent 688b567111
commit ce0d04c6d2
1 changed files with 1 additions and 1 deletions

View File

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