Skip to content

Commit 7d2ef3d

Browse files
committed
Fix datatype
This has been introduced by 84b0d0f. Besides it causes runtime issues on POWER5 (and presumably later), the implementation would expect this array to consist on 32-bit integers.
1 parent 083bbf5 commit 7d2ef3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/hash/php_hash_gost.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
/* GOST context */
2323
typedef struct {
2424
uint32_t state[16];
25-
size_t count[2];
25+
uint32_t count[2];
2626
unsigned char length;
2727
unsigned char buffer[32];
2828
const uint32_t (*tables)[4][256];

0 commit comments

Comments
 (0)