summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/unittest/cprintftest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unittest/cprintftest.cc b/src/unittest/cprintftest.cc
index 7e6d2f2d4..091d292bc 100644
--- a/src/unittest/cprintftest.cc
+++ b/src/unittest/cprintftest.cc
@@ -45,7 +45,7 @@ main()
cprintf("%s\n", foo);
string _bar = "asdfkhasdlkfjhasdlkfhjalksdjfhalksdjhfalksdjfhalksdjhf";
- int length = 11;
+ const int length = 11;
char bar[length + 1];
bar[length] = 0;