aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/qt/sctp_assoc_analyse_dialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/qt/sctp_assoc_analyse_dialog.cpp b/ui/qt/sctp_assoc_analyse_dialog.cpp
index 02c4e1b..a85cbe6 100644
--- a/ui/qt/sctp_assoc_analyse_dialog.cpp
+++ b/ui/qt/sctp_assoc_analyse_dialog.cpp
@@ -66,10 +66,10 @@ sctp_assoc_info_t* SCTPAssocAnalyseDialog::findAssocForPacket(capture_file* cf)
assoc = (sctp_assoc_info_t*)(list->data);
framelist = g_list_first(assoc->frame_numbers);
+ guint32 fn;
while (framelist) {
- guint32 *fn;
- fn = (guint32 *)framelist->data;
- if (*fn == fdata->num) {
+ fn = GPOINTER_TO_UINT(framelist->data);
+ if (fn == fdata->num) {
frame_found = TRUE;
break;
}