summaryrefslogtreecommitdiff
path: root/reordercap.c
diff options
context:
space:
mode:
Diffstat (limited to 'reordercap.c')
-rw-r--r--reordercap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/reordercap.c b/reordercap.c
index b43ca318f2..c7706aba03 100644
--- a/reordercap.c
+++ b/reordercap.c
@@ -142,8 +142,8 @@ frame_write(FrameRecord_t *frame, wtap *wth, wtap_dumper *pdh, Buffer *buf,
static int
frames_compare(gconstpointer a, gconstpointer b)
{
- const FrameRecord_t *frame1 = *(const FrameRecord_t **) a;
- const FrameRecord_t *frame2 = *(const FrameRecord_t **) b;
+ const FrameRecord_t *frame1 = *(const FrameRecord_t *const *) a;
+ const FrameRecord_t *frame2 = *(const FrameRecord_t *const *) b;
const nstime_t *time1 = &frame1->time;
const nstime_t *time2 = &frame2->time;