Re: cvs: php-src /ext/pdo_pgsql pgsql_driver.c

From: Date: Thu, 30 Jun 2005 16:43:49 +0000
Subject: Re: cvs: php-src /ext/pdo_pgsql pgsql_driver.c
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-32603@lists.php.net to get a copy of this message
Nope, 32 bit value not a 64 bit one. ilia Wez Furlong wrote:
Is this what you're really looking for? PDO_API char *php_pdo_int64_to_str(pdo_int64_t i64 TSRMLS_DC) --Wez. On 6/29/05, Ilia Alshanetsky <iliaa@php.net> wrote:
iliaa           Wed Jun 29 20:07:44 2005 EDT
Modified files:
   /php-src/ext/pdo_pgsql      pgsql_driver.c
Log: Silence warnings. http://cvs.php.net/diff.php/php-src/ext/pdo_pgsql/pgsql_driver.c?r1=1.42&r2=1.43&ty=u Index: php-src/ext/pdo_pgsql/pgsql_driver.c diff -u php-src/ext/pdo_pgsql/pgsql_driver.c:1.42 php-src/ext/pdo_pgsql/pgsql_driver.c:1.43 --- php-src/ext/pdo_pgsql/pgsql_driver.c:1.42 Tue Jun 28 10:54:44 2005
+++ php-src/ext/pdo_pgsql/pgsql_driver.c        Wed Jun 29 20:07:42 2005
@@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pgsql_driver.c,v 1.42 2005/06/28 14:54:44 iliaa Exp $ */ +/* $Id: pgsql_driver.c,v 1.43 2005/06/30 00:07:42 iliaa Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -214,7 +214,7 @@
       /* TODO: if name != NULL, pull out last value for that sequence/column */
-       *len = spprintf(&id, 0, "%ld", H->pgoid);
+       *len = spprintf(&id, 0, "%ld", (long) H->pgoid);
       return id;
} -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.cvs (#32603) next »