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 417446759c..d2524ada48 100644 --- a/ext/dba/dba_ndbm.c +++ b/ext/dba/dba_ndbm.c @@ -59,7 +59,7 @@ DBA_OPEN_FUNC(ndbm) } if(info->argc > 0) { - convert_to_long_ex(&info->argv[0]); + convert_to_int_ex(&info->argv[0]); filemode = Z_LVAL(info->argv[0]); } |
