Skip to content

Commit a27878c

Browse files
Fixed LONG_MAX in BCMath ext (php#15663)
1 parent 58aa6fc commit a27878c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/bcmath/libbcmath/src/bcmath.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ typedef struct bc_struct {
7575
#define MIN(a, b) ((a)>(b)?(b):(a))
7676

7777
#ifndef LONG_MAX
78-
#define LONG_MAX 0x7ffffff
78+
#define LONG_MAX 0x7fffffff
7979
#endif
8080

8181

0 commit comments

Comments
 (0)