diff options
Diffstat (limited to 'ext/dba/dba_db2.c')
-rw-r--r-- | ext/dba/dba_db2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dba/dba_db2.c b/ext/dba/dba_db2.c index b6879ca730..60aa37f93a 100644 --- a/ext/dba/dba_db2.c +++ b/ext/dba/dba_db2.c @@ -72,8 +72,8 @@ DBA_OPEN_FUNC(db2) } if (info->argc > 0) { - convert_to_long_ex(info->argv[0]); - filemode = Z_LVAL_PP(info->argv[0]); + convert_to_long_ex(&info->argv[0]); + filemode = Z_LVAL(info->argv[0]); } if (db_open(info->path, type, gmode, filemode, NULL, NULL, &dbp)) { |