php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #51943
Patch 5212patch revision 2010-05-28 15:08 UTC by CoreyStup at gmail dot com

Patch 5212patch for Compile Failure Bug #51943

Patch version 2010-05-28 15:08 UTC

Return to Bug #51943 | Download this patch
Patch Revisions:

Developer: CoreyStup@gmail.com

--- php-5.2.13/ext/pdo/php_pdo_driver.h 2010-01-03 04:23:27.000000000 -0500
+++ php-5.2.13.dev/ext/pdo/php_pdo_driver.h     2010-05-27 19:03:25.000000000 -0400
@@ -183,7 +183,7 @@
 enum pdo_null_handling {
        PDO_NULL_NATURAL = 0,
        PDO_NULL_EMPTY_STRING = 1,
-       PDO_NULL_TO_STRING = 2,
+       PDO_NULL_TO_STRING = 2
 };

 /* {{{ utils for reading attributes set as driver_options */
@@ -343,7 +343,7 @@
        PDO_PARAM_EVT_EXEC_POST,
        PDO_PARAM_EVT_FETCH_PRE,
        PDO_PARAM_EVT_FETCH_POST,
-       PDO_PARAM_EVT_NORMALIZE,
+       PDO_PARAM_EVT_NORMALIZE
 };

 typedef int (*pdo_stmt_param_hook_func)(pdo_stmt_t *stmt, struct pdo_bound_param_data *param, enum pdo_param_event event_type TSRMLS_DC);

--- php-5.2.13/ext/hash/php_hash_tiger.h        2010-01-03 04:23:27.000000000 -0500
+++ php-5.2.13.dev/ext/hash/php_hash_tiger.h    2010-05-27 19:02:49.000000000 -0400
@@ -25,8 +25,8 @@
 typedef struct {
        php_hash_uint64 state[3];
        php_hash_uint64 passed;
-       unsigned char passes:1;
-       unsigned char length:7;
+       unsigned int passes:1;
+       unsigned int length:7;
        unsigned char buffer[64];
 } PHP_TIGER_CTX;

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 15:01:30 2024 UTC