summaryrefslogtreecommitdiff
path: root/ext/dba/dba_db1.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dba/dba_db1.c')
-rw-r--r--ext/dba/dba_db1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dba/dba_db1.c b/ext/dba/dba_db1.c
index 9f16cb4cd2..66a6a57c60 100644
--- a/ext/dba/dba_db1.c
+++ b/ext/dba/dba_db1.c
@@ -52,7 +52,7 @@ DBA_OPEN_FUNC(db1)
if (info->argc > 0) {
convert_to_int_ex(&info->argv[0]);
- filemode = Z_IVAL(info->argv[0]);
+ filemode = Z_LVAL(info->argv[0]);
}
gmode = 0;