diff options
author | Sterling Hughes <sterling@php.net> | 2001-06-06 20:30:58 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2001-06-06 20:30:58 +0000 |
commit | bf1738e86d3d68b54e13e5589c99424fdffe8e05 (patch) | |
tree | ee7dc59ecf75043038771403a713ecf4351c847f /ext/zip | |
parent | 02b369e3a6ae2dd07434e9ed32c2a36e2220c145 (diff) | |
download | php-git-bf1738e86d3d68b54e13e5589c99424fdffe8e05.tar.gz |
remove unneccessary cast
Diffstat (limited to 'ext/zip')
-rw-r--r-- | ext/zip/zip.c | 2 |
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) { |