]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/dsi.h
use off_t rather than size_t for read/write_count, doesn't overflow at 4GB, yes movin...
[netatalk.git] / include / atalk / dsi.h
index 0c40f1f17d38f5cb9d84ab6a2ab821c194b0d8d9..058b7d36329b2f182c0f568ab1de59eaeac51c1e 100644 (file)
@@ -72,7 +72,7 @@ typedef struct DSI {
   u_int8_t  commands[DSI_CMDSIZ], data[DSI_DATASIZ];
   size_t statuslen;
   size_t datalen, cmdlen;
-  size_t read_count, write_count;
+  off_t  read_count, write_count;
   int asleep; /* client won't reply AFP 0x7a ? */
   /* inited = initialized?, child = a child?, noreply = send reply? */
   char child, inited, noreply;