diff options
Diffstat (limited to 'source/lib/xfile.c')
-rw-r--r-- | source/lib/xfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/xfile.c b/source/lib/xfile.c index 2e90a62df45..8824ca2c3c7 100644 --- a/source/lib/xfile.c +++ b/source/lib/xfile.c @@ -80,7 +80,7 @@ static int x_allocate_buffer(XFILE *f) { if (f->buf) return 1; if (f->bufsize == 0) return 0; - f->buf = SMB_MALLOC(f->bufsize); + f->buf = (char *)SMB_MALLOC(f->bufsize); if (!f->buf) return 0; f->next = f->buf; return 1; |