diff options
Diffstat (limited to 'ext/dba/dba_dbm.c')
-rw-r--r-- | ext/dba/dba_dbm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dba/dba_dbm.c b/ext/dba/dba_dbm.c index 5d5a234670..1d07998d62 100644 --- a/ext/dba/dba_dbm.c +++ b/ext/dba/dba_dbm.c @@ -61,7 +61,7 @@ DBA_OPEN_FUNC(dbm) if(info->argc > 0) { convert_to_int_ex(&info->argv[0]); - filemode = Z_IVAL(info->argv[0]); + filemode = Z_LVAL(info->argv[0]); } if(info->mode == DBA_TRUNC) { |