aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/qt/show_packet_bytes_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/show_packet_bytes_dialog.cpp b/ui/qt/show_packet_bytes_dialog.cpp
index a52b6717d5..5fb5934602 100644
--- a/ui/qt/show_packet_bytes_dialog.cpp
+++ b/ui/qt/show_packet_bytes_dialog.cpp
@@ -447,7 +447,7 @@ void ShowPacketBytesDialog::updateFieldBytes(bool initialization)
bytes = tvb_get_ptr(finfo_->ds_tvb, start, -1);
field_bytes_ = QByteArray((const char *)bytes, length);
size_t len = ws_base64_decode_inplace(field_bytes_.data());
- field_bytes_.resize(len);
+ field_bytes_.resize((int)len);
break;
}