diff --git a/src/key.cpp b/src/key.cpp index a253f8666ab..a058ef05e54 100644 --- a/src/key.cpp +++ b/src/key.cpp @@ -396,7 +396,7 @@ const unsigned char vchMaxModHalfOrder[32] = { 0xDF,0xE9,0x2F,0x46,0x68,0x1B,0x20,0xA0 }; -const unsigned char vchZero[0] = {}; +const unsigned char vchZero[1] = {0}; } // anon namespace