diff options
author | smatz <smatz@openttd.org> | 2009-09-13 23:30:29 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-09-13 23:30:29 +0000 |
commit | d96333b7c3ad8a1cb940f51f5ce510393158a479 (patch) | |
tree | 2d8f477767694fe5ec9e8fd6638f9ea090d8fc7d | |
parent | ebd916be3def20902cf19ffd16555074728eb9c3 (diff) | |
download | openttd-d96333b7c3ad8a1cb940f51f5ce510393158a479.tar.xz |
(svn r17533) -Fix: missing 'const'
-rw-r--r-- | src/driver.h | 2 |
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]; } |