CVS update: php3/functions
| From: | fmk | Date: | Tue, 01 Jun 1999 12:44:48 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6358@lists.php.net to get a copy of this message | ||
Date: Tuesday June 1, 1999 @ 8:44
Author: fmk
Update of /repository/php3/functions
In directory php:/tmp/cvs-serv31875
Modified Files:
post.c
Log Message:
Removing compiler warning
Index: php3/functions/post.c
diff -u php3/functions/post.c:1.121 php3/functions/post.c:1.122
--- php3/functions/post.c:1.121 Mon May 31 12:19:14 1999
+++ php3/functions/post.c Tue Jun 1 08:44:48 1999
@@ -116,7 +116,7 @@
#endif
#endif
fclose(fp);
- if (bytes < length) {
+ if (bytes < (size_t)length) {
php3_error(E_WARNING, "Only %d bytes were written, expected to write %ld", bytes,
length);
}
SET_VAR_STRING("PHP_PUT_FILENAME", estrdup(fn));