change all file offsets from long to gint64 so we can - theoretically - handle files...
[obnox/wireshark/wip.git] / wiretap / wtap.c
index 05246628b8adfb81ad0c5ee3f49a6321a4168ad2..2648e1dfc1c068ac6d5c5d3361f5bb4b5fa8a8cf 100644 (file)
@@ -492,7 +492,7 @@ wtap_close(wtap *wth)
 }
 
 gboolean
-wtap_read(wtap *wth, int *err, gchar **err_info, long *data_offset)
+wtap_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset)
 {
        /*
         * Set the packet encapsulation to the file's encapsulation
@@ -562,7 +562,7 @@ wtap_buf_ptr(wtap *wth)
 }
 
 gboolean
-wtap_seek_read(wtap *wth, long seek_off,
+wtap_seek_read(wtap *wth, gint64 seek_off,
        union wtap_pseudo_header *pseudo_header, guint8 *pd, int len,
        int *err, gchar **err_info)
 {