com php-src: Revert "Fixed compilation on 32-bit Linux": ext/mysqlnd/mysqlnd_portability.h
| From: | Andrey Hristov | Date: | Wed, 18 Nov 2015 09:13:34 +0000 |
| Subject: | com php-src: Revert "Fixed compilation on 32-bit Linux": ext/mysqlnd/mysqlnd_portability.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-89896@lists.php.net to get a copy of this message | ||
Commit: ee396aa56650b93578c4404ccff6471cc3072daa
Author: Andrey Hristov <andrey@php.net> Tue, 17 Nov 2015 18:57:51 +0100
Parents: a6cc322b4da9fa32faeb7d5aa43ddf7202a19ae4
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ee396aa56650b93578c4404ccff6471cc3072daa
Log:
Revert "Fixed compilation on 32-bit Linux"
This reverts commit 11c9729a9ca7b064936106e03fabadb8ab6f89fa.
Changed paths:
M ext/mysqlnd/mysqlnd_portability.h
Diff:
diff --git a/ext/mysqlnd/mysqlnd_portability.h b/ext/mysqlnd/mysqlnd_portability.h
index efac812..b9a83e6 100644
--- a/ext/mysqlnd/mysqlnd_portability.h
+++ b/ext/mysqlnd/mysqlnd_portability.h
@@ -208,9 +208,9 @@ This file is public domain and comes with NO WARRANTY of any kind */
#define sint8korr(A) (*((int64_t *) (A)))
#define int2store(T,A) *((uint16_t*) (T))= (uint16_t) (A)
#define int3store(T,A) { \
- *(((char *)(T)))= (zend_uchar) ((A));\
- *(((char *)(T))+1)=(zend_uchar) (((uint32_t) (A) >> 8));\
- *(((char *)(T))+2)=(zend_uchar) (((A) >> 16)); }
+ *(T)= (zend_uchar) ((A));\
+ *(T+1)=(zend_uchar) (((uint32_t) (A) >> 8));\
+ *(T+2)=(zend_uchar) (((A) >> 16)); }
#define int4store(T,A) *((zend_long *) (T))= (zend_long) (A)
#define int5store(T,A) { \
*((zend_uchar *)(T))= (zend_uchar)((A));\