diff options
Diffstat (limited to 'libavutil/sha.c')
-rw-r--r-- | libavutil/sha.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/sha.c b/libavutil/sha.c index 5c8e3b6..8c4f8a0 100644 --- a/libavutil/sha.c +++ b/libavutil/sha.c @@ -340,7 +340,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]); |