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/ftp_fopen_wrapper.c | |
parent | 2811f9293d6c5838e26f456b8eb94f77289ae708 (diff) | |
download | php-git-6a7dde29e7daf744b3cffe24f4743536fc209972.tar.gz |
kill warnings
Diffstat (limited to 'ext/standard/ftp_fopen_wrapper.c')
-rw-r--r-- | ext/standard/ftp_fopen_wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/ftp_fopen_wrapper.c b/ext/standard/ftp_fopen_wrapper.c index 0edcd28a1c..177bed26ab 100644 --- a/ext/standard/ftp_fopen_wrapper.c +++ b/ext/standard/ftp_fopen_wrapper.c @@ -477,7 +477,7 @@ php_stream * php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, char *path, ch php_stream_context_get_option(context, "ftp", "resume_pos", &tmpzval) == SUCCESS && Z_TYPE_PP(tmpzval) == IS_LONG && Z_LVAL_PP(tmpzval) > 0) { - snprintf(tmp_line, 511, "REST %u\r\n", Z_LVAL_PP(tmpzval)); + snprintf(tmp_line, 511, "REST %ld\r\n", Z_LVAL_PP(tmpzval)); php_stream_write_string(stream, tmp_line); result = GET_FTP_RESULT(stream); if (result < 300 || result > 399) { |