iliaa           Mon Jan  1 19:40:29 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/dba/libinifile inifile.c 
  Log:
  
  fixed compiler warnings
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/dba/libinifile/inifile.c?r1=1.14.2.1.2.2&r2=1.14.2.1.2.3&diff_format=u
Index: php-src/ext/dba/libinifile/inifile.c
diff -u php-src/ext/dba/libinifile/inifile.c:1.14.2.1.2.2 
php-src/ext/dba/libinifile/inifile.c:1.14.2.1.2.3
--- php-src/ext/dba/libinifile/inifile.c:1.14.2.1.2.2   Mon Jan  1 09:36:00 2007
+++ php-src/ext/dba/libinifile/inifile.c        Mon Jan  1 19:40:29 2007
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: inifile.c,v 1.14.2.1.2.2 2007/01/01 09:36:00 sebastian Exp $ */
+/* $Id: inifile.c,v 1.14.2.1.2.3 2007/01/01 19:40:29 iliaa Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -43,7 +43,7 @@
 /* {{{ inifile_version */
 char *inifile_version() 
 {
-       return "1.0, $Revision: 1.14.2.1.2.2 $";
+       return "1.0, $Revision: 1.14.2.1.2.3 $";
 }
 /* }}} */ 
 
@@ -404,7 +404,7 @@
        }
        php_stream_seek(dba->fp, pos_start, SEEK_SET);
        if (!php_stream_copy_to_stream(dba->fp, fp, pos_end - pos_start)) {
-               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not copy 
group [%d - %d] to temporary stream", pos_start, pos_end);
+               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not copy 
group [%zu - %zu] to temporary stream", pos_start, pos_end);
                return FAILURE;
        } 
        return SUCCESS;
@@ -429,7 +429,7 @@
                        if (pos_start != pos_next) {
                                php_stream_seek(from->fp, pos_start, SEEK_SET);
                                if (!php_stream_copy_to_stream(from->fp, 
dba->fp, pos_next - pos_start)) {
-                                       php_error_docref(NULL TSRMLS_CC, 
E_WARNING, "Could not copy [%d - %d] from temporary stream", pos_next, 
pos_start);
+                                       php_error_docref(NULL TSRMLS_CC, 
E_WARNING, "Could not copy [%zu - %zu] from temporary stream", pos_next, 
pos_start);
                                        ret = FAILURE;
                                }
                                php_stream_seek(from->fp, pos_curr, SEEK_SET);
@@ -448,7 +448,7 @@
        if (pos_start != pos_next) {
                php_stream_seek(from->fp, pos_start, SEEK_SET);
                if (!php_stream_copy_to_stream(from->fp, dba->fp, pos_next - 
pos_start)) {
-                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not 
copy [%d - %d] from temporary stream", pos_next, pos_start);
+                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not 
copy [%zu - %zu] from temporary stream", pos_next, pos_start);
                        ret = FAILURE;
                }
        }

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

Reply via email to