projects
/
m6w6
/
ext-pq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix two long/zend_long mismatches
[m6w6/ext-pq]
/
src
/
php_pqres.c
diff --git
a/src/php_pqres.c
b/src/php_pqres.c
index f2ddf98029497a7d9314a1f82bde1d4a009f8cac..68645a19c9902d65f94ca52468c632abad36d9bc 100644
(file)
--- a/
src/php_pqres.c
+++ b/
src/php_pqres.c
@@
-145,7
+145,7
@@
zval *php_pqres_typed_zval(php_pqres_t *res, Oid typ, zval *zv)
goto noconversion;
}
{
goto noconversion;
}
{
- long lval;
+
zend_
long lval;
double dval;
switch (is_numeric_str_function(str, &lval, &dval)) {
double dval;
switch (is_numeric_str_function(str, &lval, &dval)) {
@@
-561,7
+561,7
@@
typedef struct php_pqres_col {
static ZEND_RESULT_CODE column_nn(php_pqres_object_t *obj, zval *zcol, php_pqres_col_t *col)
{
static ZEND_RESULT_CODE column_nn(php_pqres_object_t *obj, zval *zcol, php_pqres_col_t *col)
{
- long index = -1;
+
zend_
long index = -1;
char *name = NULL;
if (!zcol) {
char *name = NULL;
if (!zcol) {