summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavutil/ripemd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/ripemd.c b/libavutil/ripemd.c
index 98be3ad393..d737c381a0 100644
--- a/libavutil/ripemd.c
+++ b/libavutil/ripemd.c
@@ -388,7 +388,7 @@ int main(void)
int i, j, k;
AVRIPEMD ctx;
unsigned char digest[40];
- const int lengths[4] = { 128, 160, 256, 320 };
+ static const int lengths[4] = { 128, 160, 256, 320 };
for (j = 0; j < 4; j++) {
printf("Testing RIPEMD-%d\n", lengths[j]);