]> arthur.barton.de Git - netatalk.git/commitdiff
use size_t rather than unsigned int for dsi and asp cmd/datalen
authordidg <didg>
Tue, 1 Feb 2005 12:06:17 +0000 (12:06 +0000)
committerdidg <didg>
Tue, 1 Feb 2005 12:06:17 +0000 (12:06 +0000)
include/atalk/asp.h
include/atalk/dsi.h

index d1a8b110d4d860101436c9a2faa94dd0d4e8c939..4db53a40a9f60dac7111b8ebf5161c635e264e49 100644 (file)
@@ -59,7 +59,7 @@ typedef struct ASP {
     char               child, inited, *commands;
     char                cmdbuf[ASP_CMDMAXSIZ];
     char                data[ASP_DATAMAXSIZ];  
-    unsigned int        cmdlen, datalen;
+    size_t             cmdlen, datalen;
     size_t             read_count, write_count;
 } *ASP;
 
index c560b95c601a2f1533c4befa9a9c150eb87ec802..2c4566d56340ffc911a49f8a06002dfbc15dde4c 100644 (file)
@@ -66,7 +66,7 @@ typedef struct DSI {
   u_int16_t serverID, clientID;
   u_int8_t *status, commands[DSI_CMDSIZ], data[DSI_DATASIZ];
   int statuslen;
-  unsigned int datalen, cmdlen;
+  size_t datalen, cmdlen;
   size_t read_count, write_count;
   int asleep; /* client won't reply AFP 0x7a ? */
   /* inited = initialized?, child = a child?, noreply = send reply? */