cvs: php4 /ext/dbase dbase.c
| From: | Frank M. Kromann | Date: | Tue, 05 Mar 2002 00:28:20 +0000 |
| Subject: | cvs: php4 /ext/dbase dbase.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9673@lists.php.net to get a copy of this message | ||
fmk Mon Mar 4 19:28:20 2002 EDT
Modified files:
/php4/ext/dbase dbase.c
Log:
Killing compiler warning
Index: php4/ext/dbase/dbase.c
diff -u php4/ext/dbase/dbase.c:1.57 php4/ext/dbase/dbase.c:1.58
--- php4/ext/dbase/dbase.c:1.57 Thu Feb 28 03:26:01 2002
+++ php4/ext/dbase/dbase.c Mon Mar 4 19:28:20 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dbase.c,v 1.57 2002/02/28 08:26:01 sebastian Exp $ */
+/* $Id: dbase.c,v 1.58 2002/03/05 00:28:20 fmk Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -463,7 +463,7 @@
/* 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);
}