summaryrefslogtreecommitdiff
path: root/ext/standard/exec.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-02-26 10:57:00 +0000
committerMarcus Boerger <helly@php.net>2006-02-26 10:57:00 +0000
commit5a69b290824828833e3587cb04478316cae5e39c (patch)
treef1fc508b2375533384853944679d23a42a9c806c /ext/standard/exec.c
parent84fc80064bf2630f622c24ae5c43ac05d5628608 (diff)
downloadphp-git-5a69b290824828833e3587cb04478316cae5e39c.tar.gz
- Warning fixes by Steph
Diffstat (limited to 'ext/standard/exec.c')
-rw-r--r--ext/standard/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index bf2e3dbe8d..be07e3813d 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -135,7 +135,7 @@ int php_exec(int type, char *cmd, zval *array, zval *return_value TSRMLS_DC)
/* strip trailing whitespaces */
l = bufl;
while (l-- && isspace(((unsigned char *)buf)[l]));
- if (l != (bufl - 1)) {
+ if (l != (int)(bufl - 1)) {
bufl = l + 1;
buf[bufl] = '\0';
}
@@ -148,7 +148,7 @@ int php_exec(int type, char *cmd, zval *array, zval *return_value TSRMLS_DC)
if (type != 2) {
l = bufl;
while (l-- && isspace(((unsigned char *)buf)[l]));
- if (l != (bufl - 1)) {
+ if (l != (int)(bufl - 1)) {
bufl = l + 1;
buf[bufl] = '\0';
}