summaryrefslogtreecommitdiff
path: root/ext/zip
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2001-06-06 20:30:58 +0000
committerSterling Hughes <sterling@php.net>2001-06-06 20:30:58 +0000
commitbf1738e86d3d68b54e13e5589c99424fdffe8e05 (patch)
treeee7dc59ecf75043038771403a713ecf4351c847f /ext/zip
parent02b369e3a6ae2dd07434e9ed32c2a36e2220c145 (diff)
downloadphp-git-bf1738e86d3d68b54e13e5589c99424fdffe8e05.tar.gz
remove unneccessary cast
Diffstat (limited to 'ext/zip')
-rw-r--r--ext/zip/zip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/zip.c b/ext/zip/zip.c
index 4460fd5d14..c466d82d42 100644
--- a/ext/zip/zip.c
+++ b/ext/zip/zip.c
@@ -154,7 +154,7 @@ PHP_FUNCTION(zip_read)
ZEND_FETCH_RESOURCE(archive_p, ZZIP_DIR *, zzip_dp, -1, le_zip_dir_name, le_zip_dir);
- entry = (php_zzip_dirent *) emalloc(sizeof(php_zzip_dirent));
+ entry = emalloc(sizeof(php_zzip_dirent));
ret = zzip_dir_read(archive_p, &entry->dirent);
if (ret == 0) {