aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorENikS <evgeni@eniks.com>2014-09-01 19:51:25 -0400
committerENikS <evgeni@eniks.com>2014-09-01 19:51:25 -0400
commitc0f5d4aba5e158d32edb3fc280f63e04542e90d4 (patch)
tree7a9d39a5c2dfccbf46f8702f6cfc7376b44b719e
parent2e731f24b5a5c894e013a6d752f1cd409303e916 (diff)
Fixing Compiler Error C2466
-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