From d96333b7c3ad8a1cb940f51f5ce510393158a479 Mon Sep 17 00:00:00 2001 From: smatz Date: Sun, 13 Sep 2009 23:30:29 +0000 Subject: [PATCH] (svn r17533) -Fix: missing 'const' --- src/driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver.h b/src/driver.h index 7abd4c1863..17019877e6 100644 --- a/src/driver.h +++ b/src/driver.h @@ -65,7 +65,7 @@ private: static const char *GetDriverTypeName(Driver::Type type) { - static const char *driver_type_name[] = { "sound", "music", "video" }; + static const char * const driver_type_name[] = { "sound", "music", "video" }; return driver_type_name[type]; }