5df4ac5c2048475a1b19915200cd360e125f41a3
galt
  Thu Nov 21 17:13:25 2013 -0800
fixing compiler warnings
diff --git src/inc/net.h src/inc/net.h
index fac2207..b00dea4 100644
--- src/inc/net.h
+++ src/inc/net.h
@@ -43,35 +43,35 @@
 /* Wait for incoming connection from socket descriptor
  * from IP address in subnet.  Subnet is something
  * returned from netParseDottedQuad.  */
 
 FILE *netFileFromSocket(int socket);
 /* Wrap a FILE around socket.  This should be fclose'd
  * and separately the socket close'd. */
 
 int netWaitForData(int sd, int microseconds);
 /* Wait for descriptor to have some data to read, up to given number of
  * microseconds.  Returns amount of data there or zero if timed out. */
 
 void netBlockBrokenPipes();
 /* Make it so a broken pipe doesn't kill us. */
 
-size_t netReadAll(int sd, void *vBuf, size_t size);
+ssize_t netReadAll(int sd, void *vBuf, ssize_t size);
 /* Read given number of bytes into buffer.
  * Don't give up on first read! */
 
-int netMustReadAll(int sd, void *vBuf, size_t size);
+ssize_t netMustReadAll(int sd, void *vBuf, ssize_t size);
 /* Read given number of bytes into buffer or die.
  * Don't give up if first read is short! */
 
 boolean netSendString(int sd, char *s);
 /* Send a string down a socket - length byte first. */
 
 boolean netSendLongString(int sd, char *s);
 /* Send a string down a socket - up to 64k characters. */
 
 boolean netSendHugeString(int sd, char *s);
 /* Send a string down a socket - up to 4G characters. */
 
 char *netRecieveString(int sd, char buf[256]);
 /* Read string into buf and return it.  If buf is NULL
  * an internal buffer will be used. Abort if any problem. */