com php-src: remove cast: ext/pgsql/pgsql.c

From: Date: Sun, 16 Feb 2014 14:08:12 +0000
Subject: com php-src: remove cast: ext/pgsql/pgsql.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-76025@lists.php.net to get a copy of this message
Commit: 01cf1aabe2097618231fb191cd77be07512a8abe Author: Anatol Belski <ab@php.net> Sun, 16 Feb 2014 15:08:12 +0100 Parents: d8c35fd5787539ef009f3f41bad388390243e6fc Branches: str_size_and_int64 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=01cf1aabe2097618231fb191cd77be07512a8abe Log: remove cast Changed paths: M ext/pgsql/pgsql.c Diff: diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 5e24cbc..27ce263 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -5110,7 +5110,7 @@ PHP_FUNCTION(pg_result_status) pgsql_result = pg_result->result; if (result_type == PGSQL_STATUS_LONG) { status = PQresultStatus(pgsql_result); - RETURN_INT((int)status); + RETURN_INT(status); } else if (result_type == PGSQL_STATUS_STRING) { RETURN_STRING(PQcmdStatus(pgsql_result), 1);

« previous php.cvs (#76025) next »