diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-01-15 08:36:09 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-01-15 08:36:09 +0000 |
commit | 2f0ddb96d093a4ea925e7f7053587c96f507569b (patch) | |
tree | 3feef073e3b779ed017c8466c9d6d3cfb5be3b9c /reordercap.c | |
parent | 9228c72ef0f34982cfe344d74570adabb86c6cf1 (diff) | |
download | wireshark-2f0ddb96d093a4ea925e7f7053587c96f507569b.tar.gz wireshark-2f0ddb96d093a4ea925e7f7053587c96f507569b.tar.bz2 wireshark-2f0ddb96d093a4ea925e7f7053587c96f507569b.zip |
Fun and games with const.
svn path=/trunk/; revision=54817
Diffstat (limited to 'reordercap.c')
-rw-r--r-- | reordercap.c | 4 |
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; |