2
0
mirror of https://github.com/boostorg/json.git synced 2026-01-19 04:12:14 +00:00

Small buffer is 10 chars on 32-bit

fix #335
This commit is contained in:
Vinnie Falco
2020-09-14 12:11:32 -07:00
parent fc7b1c6fd2
commit 2d0bef633d
2 changed files with 16 additions and 16 deletions

View File

@@ -31,8 +31,8 @@ public:
# define INIT1 { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n' }
# define INIT2 { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O' }
#elif BOOST_JSON_ARCH == 32
# define INIT1 { 'a', 'b', 'c', 'd', 'e', 'f' }
# define INIT2 { 'A', 'B', 'C', 'D', 'E', 'F', 'G' }
# define INIT1 { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j' }
# define INIT2 { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K' }
#else
# error Unknown architecture
#endif