change all file offsets from long to gint64 so we can - theoretically - handle files...
[obnox/wireshark/wip.git] / gtk / capture_file_dlg.c
index 282a9bf186ea9028f07014e75e48aa5dad80a9f6..dc0a7fbc1dfe6793cf78b859191b39ebf326bc0a 100644 (file)
@@ -200,7 +200,7 @@ preview_do(GtkWidget *prev, wtap *wth)
     time_t      time_current;
     int         err = 0;
     gchar      *err_info;
-    long        data_offset;
+    gint64      data_offset;
     const struct wtap_pkthdr *phdr;
     double      start_time = 0;        /* seconds, with nsec resolution */
     double      stop_time = 0; /* seconds, with nsec resolution */