Corrected an error on my part.

This commit is contained in:
Ward Fisher 2012-09-20 21:19:34 +00:00
parent 0d221a4e20
commit 405bcacdc9

View File

@ -114,10 +114,10 @@ extern void xxdrntohdouble(char*,double*);
typedef struct XXDR XXDR; /* forward */
/* Assume |off_t| == |void*| */
typedef struct XXDR {
struct XXDR {
char* data;
off_t pos; /* relative to data;
may be a cache of underlying stream pos */
may be a cache of underlying stream pos */
int valid; /* 1=>underlying stream pos == pos */
off_t base; /* beginning of data in case bod != 0*/
off_t length; /* total size of available data (relative to base)*/