From 8a02b76d734af1b8924551cfed24c02ea245bd64 Mon Sep 17 00:00:00 2001 From: seelabs Date: Mon, 27 Nov 2017 09:22:10 -0500 Subject: [PATCH] Fix snprintf warning --- src/test/app/PayStrand_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/app/PayStrand_test.cpp b/src/test/app/PayStrand_test.cpp index 199d2f8d66..14c109fc3c 100644 --- a/src/test/app/PayStrand_test.cpp +++ b/src/test/app/PayStrand_test.cpp @@ -396,7 +396,7 @@ struct ExistingElementPool currencyNames.clear(); currencyNames.reserve(numCur); - constexpr size_t bufSize = 8; + constexpr size_t bufSize = 32; char buf[bufSize]; for (size_t id = 0; id < numAct; ++id)