summaryrefslogtreecommitdiff
path: root/libavutil/sha-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/sha-test.c')
-rw-r--r--libavutil/sha-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/sha-test.c b/libavutil/sha-test.c
index e43a5a53d5..5f62a98ea3 100644
--- a/libavutil/sha-test.c
+++ b/libavutil/sha-test.c
@@ -25,7 +25,7 @@ int main(void)
int i, j, k;
AVSHA ctx;
unsigned char digest[32];
- const int lengths[3] = { 160, 224, 256 };
+ static const int lengths[3] = { 160, 224, 256 };
for (j = 0; j < 3; j++) {
printf("Testing SHA-%d\n", lengths[j]);