diff options
Diffstat (limited to 'ext/dbase')
-rw-r--r-- | ext/dbase/dbase.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dbase/dbase.c b/ext/dbase/dbase.c index 381e6c6f15..445f014a31 100644 --- a/ext/dbase/dbase.c +++ b/ext/dbase/dbase.c @@ -463,7 +463,7 @@ PHP_FUNCTION(dbase_get_record) /* get the value */ str_value = (char *)emalloc(cur_f->db_flen + 1); - if(cursize <= cur_f->db_flen) { + if(cursize <= (unsigned)cur_f->db_flen) { cursize = cur_f->db_flen + 1; fnp = erealloc(fnp, cursize); } |