aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/key.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/key.cpp b/src/key.cpp
index a253f8666a..a058ef05e5 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