cvs: php-src /ext/dba/libinifile inifile.c

From: Date: Mon, 01 Jan 2007 19:42:19 +0000
Subject: cvs: php-src /ext/dba/libinifile inifile.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-42509@lists.php.net to get a copy of this message
iliaa Mon Jan 1 19:42:19 2007 UTC Modified files: /php-src/ext/dba/libinifile inifile.c Log: MFB: fixed compiler warnings http://cvs.php.net/viewvc.cgi/php-src/ext/dba/libinifile/inifile.c?r1=1.19&r2=1.20&diff_format=u Index: php-src/ext/dba/libinifile/inifile.c diff -u php-src/ext/dba/libinifile/inifile.c:1.19 php-src/ext/dba/libinifile/inifile.c:1.20 --- php-src/ext/dba/libinifile/inifile.c:1.19 Mon Jan 1 09:29:23 2007 +++ php-src/ext/dba/libinifile/inifile.c Mon Jan 1 19:42:19 2007 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: inifile.c,v 1.19 2007/01/01 09:29:23 sebastian Exp $ */ +/* $Id: inifile.c,v 1.20 2007/01/01 19:42:19 iliaa Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -42,7 +42,7 @@ /* {{{ inifile_version */ char *inifile_version() { - return "1.0, $Revision: 1.19 $"; + return "1.0, $Revision: 1.20 $"; } /* }}} */ @@ -403,7 +403,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; @@ -428,7 +428,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); @@ -447,7 +447,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; } }

« previous php.cvs (#42509) next »