iliaa Tue Nov 29 13:17:50 2005 EDT
Modified files: (Branch: PHP_5_1)
/php-src/ext/pdo_pgsql pgsql_driver.c
Log:
Fixed compiler warnings
http://cvs.php.net/diff.php/php-src/ext/pdo_pgsql/pgsql_driver.c?r1=1.53.2.3&r2=1.53.2.4&ty=u
Index: php-src/ext/pdo_pgsql/pgsql_driver.c
diff -u php-src/ext/pdo_pgsql/pgsql_driver.c:1.53.2.3
php-src/ext/pdo_pgsql/pgsql_driver.c:1.53.2.4
--- php-src/ext/pdo_pgsql/pgsql_driver.c:1.53.2.3 Mon Nov 28 23:06:03 2005
+++ php-src/ext/pdo_pgsql/pgsql_driver.c Tue Nov 29 13:17:46 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pgsql_driver.c,v 1.53.2.3 2005/11/29 04:06:03 wez Exp $ */
+/* $Id: pgsql_driver.c,v 1.53.2.4 2005/11/29 18:17:46 iliaa Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -210,11 +210,9 @@
pdo_pgsql_stmt *S = ecalloc(1, sizeof(pdo_pgsql_stmt));
int scrollable;
#if HAVE_PQPREPARE
- PGresult *res;
int ret;
char *nsql = NULL;
int nsql_len = 0;
- ExecStatusType status;
#endif
S->H = H;
@@ -490,7 +488,7 @@
if (lfd != InvalidOid) {
char *buf;
- spprintf(&buf, 0, "%lu", lfd);
+ spprintf(&buf, 0, "%lu", (long) lfd);
RETURN_STRING(buf, 0);
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php