aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.cpp
diff options
context:
space:
mode:
authorGravatar Peter Ammon <corydoras@ridiculousfish.com>2012-01-14 22:32:45 -0800
committerGravatar Peter Ammon <corydoras@ridiculousfish.com>2012-01-14 22:32:45 -0800
commit9b133a978d5f33985a9b66d3a75165e3d50cdfa3 (patch)
treee846e195756904d8c007ae1f33e77a53d696102c /common.cpp
parent203c749e6cc2d5ac0e9e8e240c77d94e179c60d0 (diff)
Improve const and signed/unsigned correctness
Diffstat (limited to 'common.cpp')
-rw-r--r--common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.cpp b/common.cpp
index 90f965da..388f68cc 100644
--- a/common.cpp
+++ b/common.cpp
@@ -1866,7 +1866,7 @@ void bugreport()
void sb_format_size( string_buffer_t *sb,
long long sz )
{
- wchar_t *sz_name[]=
+ const wchar_t *sz_name[]=
{
L"kB", L"MB", L"GB", L"TB", L"PB", L"EB", L"ZB", L"YB", 0
}