diff options
Diffstat (limited to 'ext/gdbm/gdbm.c')
-rw-r--r-- | ext/gdbm/gdbm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/gdbm/gdbm.c b/ext/gdbm/gdbm.c index eb802a7563..143b4e8ebb 100644 --- a/ext/gdbm/gdbm.c +++ b/ext/gdbm/gdbm.c @@ -614,7 +614,8 @@ fgdbm_delete_if(VALUE obj) GDBM_FILE dbm; VALUE keystr, valstr; VALUE ret, ary = rb_ary_tmp_new(0); - int i, status = 0, n; + long i; + int status = 0, n; rb_gdbm_modify(obj); GetDBM2(obj, dbmp, dbm); |