]> granicus.if.org Git - php/commit
Fixed compiler warning
authorMatteo Beccati <mbeccati@php.net>
Wed, 21 Aug 2013 09:00:31 +0000 (11:00 +0200)
committerMatteo Beccati <mbeccati@php.net>
Wed, 21 Aug 2013 09:22:32 +0000 (11:22 +0200)
commit5c06e5c2e020c49c3a99c88477014846e6d82b97
tree67fa760d4b8325aaa924c47dfd97072b2e1181bc
parente9b12bedc331631cbcc8605972325ca41ec50f01
Fixed compiler warning

I moved the constant to the enum in order to avoid this:
ext/pgsql/pgsql.c:3491: warning: comparison is always false due to limited range of data type

Works in gcc 4.6, but I'm not sure about other compilers.
ext/pdo/php_pdo_driver.h