diff options
Diffstat (limited to 'ext/dba/dba_ndbm.c')
-rw-r--r-- | ext/dba/dba_ndbm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dba/dba_ndbm.c b/ext/dba/dba_ndbm.c index a6117805c6..529fe1f5dd 100644 --- a/ext/dba/dba_ndbm.c +++ b/ext/dba/dba_ndbm.c @@ -56,7 +56,7 @@ DBA_OPEN_FUNC(ndbm) if(info->argc > 0) { convert_to_long_ex(info->argv[0]); - filemode = (*info->argv[0])->value.lval; + filemode = Z_LVAL_PP(info->argv[0]); } dbf = dbm_open(info->path, gmode, filemode); |