summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xext/pdo/php_pdo_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h
index 1914567d7b..422b108098 100755
--- a/ext/pdo/php_pdo_driver.h
+++ b/ext/pdo/php_pdo_driver.h
@@ -419,7 +419,7 @@ struct _pdo_dbh_t {
unsigned int refcount;
/* driver specific "class" methods for the dbh and stmt */
- HashTable *cls_methods[PDO_DBH_DRIVER_METHOD_KIND__MAX-1];
+ HashTable *cls_methods[PDO_DBH_DRIVER_METHOD_KIND__MAX];
};
/* describes a column */