X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fupdate%2Fserver.c;h=37d79b9b7781268cf5ce15ec3ab5420d266358ca;hp=e91a4706cd5a042dec09c07daeefb12cd75525ef;hb=1c734bd7e59b0e2b1f79dbd9b203de1ecb921f3c;hpb=695e3a028e1257e1a1460205eba3fc7a837c5b41 diff --git a/src/update/server.c b/src/update/server.c index e91a470..37d79b9 100644 --- a/src/update/server.c +++ b/src/update/server.c @@ -400,7 +400,7 @@ update_SendFile(int fd, struct rx_call *call, struct stat *status) blockSize = status->st_blksize; #endif length = status->st_size; - buffer = (char *)malloc(blockSize); + buffer = malloc(blockSize); if (!buffer) { printf("malloc failed\n"); return UPDATE_ERROR;