diff options
Diffstat (limited to 'usr.bin/compress/gzopen.c')
-rw-r--r-- | usr.bin/compress/gzopen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/compress/gzopen.c b/usr.bin/compress/gzopen.c index dd239534a5c..5837ee7a611 100644 --- a/usr.bin/compress/gzopen.c +++ b/usr.bin/compress/gzopen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gzopen.c,v 1.28 2015/01/16 06:40:06 deraadt Exp $ */ +/* $OpenBSD: gzopen.c,v 1.29 2015/08/20 22:32:41 deraadt Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -115,7 +115,7 @@ gz_open(int fd, const char *mode, char *name, int bits, errno = EINVAL; return NULL; } - if ((s = (gz_stream *)calloc(1, sizeof(gz_stream))) == NULL) + if ((s = calloc(1, sizeof(gz_stream))) == NULL) return NULL; s->z_stream.zalloc = (alloc_func)0; |