diff options
author | Dan Kalowsky <kalowsky@php.net> | 2002-09-05 21:29:39 +0000 |
---|---|---|
committer | Dan Kalowsky <kalowsky@php.net> | 2002-09-05 21:29:39 +0000 |
commit | e560822fa7371ee24b7fc99e3dafb6065117a050 (patch) | |
tree | 5f24c763facf8d0630787ea254cbf5cdd5f597bd /ext/standard/string.c | |
parent | 71ecad8fbe2b0a72e01c08f35dbe895abd0aafb6 (diff) | |
download | php-git-e560822fa7371ee24b7fc99e3dafb6065117a050.tar.gz |
silence a windows build warning
Diffstat (limited to 'ext/standard/string.c')
-rw-r--r-- | ext/standard/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c index ed97392740..a92a46beca 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -641,7 +641,7 @@ PHP_FUNCTION(wordwrap) /* Multiple character line break or forced cut */ if (linelength > 0) { /* Add extra 10% to accomodate strings with unpredicatable number of breaks */ - newtextlen = textlen + (textlen/linelength + 1) * breakcharlen * 1.1 + 1; + newtextlen = textlen + (int)((textlen/linelength + 1) * breakcharlen * 1.1) + 1; } else { newtextlen = textlen * (breakcharlen + 1) + 1; |