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 6805c45d9f..d2524ada48 100644 --- a/ext/dba/dba_ndbm.c +++ b/ext/dba/dba_ndbm.c @@ -60,7 +60,7 @@ DBA_OPEN_FUNC(ndbm) if(info->argc > 0) { convert_to_int_ex(&info->argv[0]); - filemode = Z_IVAL(info->argv[0]); + filemode = Z_LVAL(info->argv[0]); } dbf = dbm_open(info->path, gmode, filemode); |
