diff options
author | Sascha Schumann <sas@php.net> | 2003-08-28 16:28:33 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2003-08-28 16:28:33 +0000 |
commit | 6a7dde29e7daf744b3cffe24f4743536fc209972 (patch) | |
tree | 4ac0aac116288dce870e3789a840682579eab367 /ext/standard/fsock.c | |
parent | 2811f9293d6c5838e26f456b8eb94f77289ae708 (diff) | |
download | php-git-6a7dde29e7daf744b3cffe24f4743536fc209972.tar.gz |
kill warnings
Diffstat (limited to 'ext/standard/fsock.c')
-rw-r--r-- | ext/standard/fsock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/fsock.c b/ext/standard/fsock.c index b59e9db8c2..4932965383 100644 --- a/ext/standard/fsock.c +++ b/ext/standard/fsock.c @@ -56,7 +56,7 @@ static void php_fsockopen_stream(INTERNAL_FUNCTION_PARAMETERS, int persistent) } if (port > 0) { - hostname_len = spprintf(&hostname, 0, "%s:%d", host, port); + hostname_len = spprintf(&hostname, 0, "%s:%ld", host, port); } else { hostname_len = host_len; hostname = host; |