We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14c70e0 commit 2bc887eCopy full SHA for 2bc887e
ext/mysqlnd/mysqlnd_portability.h
@@ -247,10 +247,10 @@ typedef unsigned long long uint64_t;
247
(((uint32_t) (((zend_uchar*) (A))[0])) << 24)))
248
249
#define bit_uint5korr(A) ((uint64_t)(((uint32_t) ((zend_uchar) (A)[4])) +\
250
- (((uint32_t) ((zend_uchar) (A)[3])) << 8) +\
251
- (((uint32_t) ((zend_uchar) (A)[2])) << 16) +\
252
- (((uint32_t) ((zend_uchar) (A)[1])) << 24)) +\
253
- (((uint64_t) ((zend_uchar) (A)[0])) << 32))
+ (((uint32_t) ((zend_uchar*) (A)[3])) << 8) +\
+ (((uint32_t) ((zend_uchar*) (A)[2])) << 16) +\
+ (((uint32_t) ((zend_uchar*) (A)[1])) << 24)) +\
+ (((uint64_t) ((zend_uchar*) (A)[0])) << 32))
254
255
#define bit_uint6korr(A) ((uint64_t)(((uint32_t) (((zend_uchar*) (A))[5])) +\
256
(((uint32_t) (((zend_uchar*) (A))[4])) << 8) +\
0 commit comments