diff src/dmres.h @ 1106:f8e9f6b2a41a

Hmm .. back out the Sint64 changes for now.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 04 Mar 2015 00:40:15 +0200
parents 9f06f6661cdf
children 93d1050eac99
line wrap: on
line diff
--- a/src/dmres.h	Wed Mar 04 00:00:11 2015 +0200
+++ b/src/dmres.h	Wed Mar 04 00:40:15 2015 +0200
@@ -115,9 +115,9 @@
 
     int     (*freset)(DMResource *);
     int     (*ferror)(DMResource *);
-    int     (*fseek)(DMResource *, const Sint64, const int);
+    int     (*fseek)(DMResource *, const off_t, const int);
     off_t   (*fsize)(DMResource *);
-    Sint64  (*ftell)(DMResource *);
+    off_t   (*ftell)(DMResource *);
     BOOL    (*feof)(DMResource *);
     int     (*fgetc)(DMResource *);
     int     (*fputc)(int, DMResource *);
@@ -161,9 +161,9 @@
 // Basic resource access functions
 int          dmfreset(DMResource *);
 int          dmferror(DMResource *);
-int          dmfseek(DMResource *, Sint64, const int);
+int          dmfseek(DMResource *, const off_t, const int);
 off_t        dmfsize(DMResource *);
-Sint64       dmftell(DMResource *);
+off_t        dmftell(DMResource *);
 BOOL         dmfeof(DMResource *);
 int          dmfgetc(DMResource *);
 int          dmfputc(int, DMResource *);