pollita         Tue Jun 17 23:26:29 2003 EDT

  Modified files:              
    /php4/ext/standard  ftp_fopen_wrapper.c 
  Log:
  Fix compiler warnings
  
Index: php4/ext/standard/ftp_fopen_wrapper.c
diff -u php4/ext/standard/ftp_fopen_wrapper.c:1.57 
php4/ext/standard/ftp_fopen_wrapper.c:1.58
--- php4/ext/standard/ftp_fopen_wrapper.c:1.57  Tue Jun 10 16:03:37 2003
+++ php4/ext/standard/ftp_fopen_wrapper.c       Tue Jun 17 23:26:29 2003
@@ -18,7 +18,7 @@
    |          Sara Golemon <[EMAIL PROTECTED]>                              |
    +----------------------------------------------------------------------+
  */
-/* $Id: ftp_fopen_wrapper.c,v 1.57 2003/06/10 20:03:37 imajes Exp $ */
+/* $Id: ftp_fopen_wrapper.c,v 1.58 2003/06/18 03:26:29 pollita Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -377,7 +377,7 @@
        char ip[sizeof("123.123.123.123")];
        unsigned short portno;
        char *hoststart = NULL;
-       int result, use_ssl, use_ssl_on_data=0;
+       int result = 0, use_ssl, use_ssl_on_data=0;
        php_stream *reuseid=NULL;
        size_t file_size = 0;
        zval **tmpzval;
@@ -742,7 +742,7 @@
                goto stat_errexit;
        }
 
-       sscanf(tmp_line + 4, "%d", &(ssb->sb.st_size));
+       sscanf(tmp_line + 4, "%d", (int *)&(ssb->sb.st_size));
 
        php_stream_close(stream);
        return 0;



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to