* Fix a couple of minor compiler warnings
authorMichael Hampton <io_error@uncensored.citadel.org>
Mon, 4 Oct 2004 21:39:36 +0000 (21:39 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Mon, 4 Oct 2004 21:39:36 +0000 (21:39 +0000)
citadel/ChangeLog
citadel/rooms.c
citadel/sysdep.c

index 87dacf52d9f3628131691c61da04c82cb7f46e97..d2ec4a247c8e184ad04d517a41b82df853f173d2 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 626.5  2004/10/04 21:39:35  error
+ * Fix a couple of minor compiler warnings
+
  Revision 626.4  2004/10/03 04:25:23  ajc
  * Removed some vestiges
 
@@ -6135,4 +6138,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
-
index f1f90b64354d8d7c9d9a00251212b3c5c11789d8..562e04e06be7a16acb5a9d3c1a88ee6ec7e925c9 100644 (file)
@@ -701,7 +701,7 @@ int save_buffer(void *file, size_t filelen, const char *pathname)
                return 0;
        }
        do {
-               block = fwrite(file + bytes_written, 1,
+               block = fwrite((char *)file + bytes_written, 1,
                                filelen - bytes_written, fp);
                bytes_written += block;
        } while (errno == EINTR && bytes_written < filelen);
index c123520af46fd7fdf5fde852935cc7bb5ac39957..ce1a9dcad849d4fb53dd2014c8d41dbadce49895 100644 (file)
@@ -42,6 +42,7 @@
 
 #include <limits.h>
 #include <netinet/in.h>
+#include <arpa/inet.h>
 #include <netdb.h>
 #include <sys/un.h>
 #include <string.h>