]> code.citadel.org Git - citadel.git/blobdiff - citadel/rooms.c
* Fix a couple of minor compiler warnings
[citadel.git] / citadel / rooms.c
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);