diff options
author | Andrey Hristov <andrey@php.net> | 2011-08-02 13:41:20 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2011-08-02 13:41:20 +0000 |
commit | 4d31e1d143a7153b654ff2516f8c0ff0bb4d8117 (patch) | |
tree | d5d4a02e908d12ab0f52411b240ff2e76d283313 /ext/mysqli/mysqli_warning.c | |
parent | 6803a389284d8ae29d3d8e00d3e62ba8106362f1 (diff) | |
download | php-git-4d31e1d143a7153b654ff2516f8c0ff0bb4d8117.tar.gz |
fix warnings due to change in zend_property_info (structure extended in the middle!!)
Diffstat (limited to 'ext/mysqli/mysqli_warning.c')
-rw-r--r-- | ext/mysqli/mysqli_warning.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/mysqli/mysqli_warning.c b/ext/mysqli/mysqli_warning.c index ee815121b3..e6d2f516ec 100644 --- a/ext/mysqli/mysqli_warning.c +++ b/ext/mysqli/mysqli_warning.c @@ -330,11 +330,11 @@ const mysqli_property_entry mysqli_warning_property_entries[] = { /* }}} */ /* {{{ mysqli_warning_property_info_entries */ -zend_property_info mysqli_warning_property_info_entries[] = { - {ZEND_ACC_PUBLIC, "message", sizeof("message") - 1, 0, NULL, 0, NULL}, - {ZEND_ACC_PUBLIC, "sqlstate", sizeof("sqlstate") - 1, 0, NULL, 0, NULL}, - {ZEND_ACC_PUBLIC, "errno", sizeof("errno") - 1, 0, NULL, 0, NULL}, - {0, NULL, 0, 0, NULL, 0, NULL} +const zend_property_info mysqli_warning_property_info_entries[] = { + {ZEND_ACC_PUBLIC, "message", sizeof("message") - 1, -1, 0, NULL, 0, NULL}, + {ZEND_ACC_PUBLIC, "sqlstate", sizeof("sqlstate") - 1, -1, 0, NULL, 0, NULL}, + {ZEND_ACC_PUBLIC, "errno", sizeof("errno") - 1, -1, 0, NULL, 0, NULL}, + {0, NULL, 0, -1, 0, NULL, 0, NULL} }; /* }}} */ |