summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver.h b/src/driver.h
index 7abd4c186..17019877e 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];
}