diff options
| author | jj | 2012-05-10 22:57:11 +0200 |
|---|---|---|
| committer | jj | 2012-05-10 22:57:11 +0200 |
| commit | d30573a0e0a933c6bc72c1a769a5636ff47822a6 (patch) | |
| tree | b08d9703c5fb0398f727b8480838d13daa7d3b25 /plugins/probe.cpp | |
| parent | fca618ff1baa48ad839317ed6d7479d34f110248 (diff) | |
| download | dfhack-d30573a0e0a933c6bc72c1a769a5636ff47822a6.tar.gz dfhack-d30573a0e0a933c6bc72c1a769a5636ff47822a6.tar.bz2 dfhack-d30573a0e0a933c6bc72c1a769a5636ff47822a6.tar.xz | |
probe: fix gcc warning
Diffstat (limited to 'plugins/probe.cpp')
| -rw-r--r-- | plugins/probe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/probe.cpp b/plugins/probe.cpp index eb622e78..b7b7d298 100644 --- a/plugins/probe.cpp +++ b/plugins/probe.cpp @@ -232,7 +232,7 @@ command_result df_probe (color_ostream &out, vector <string> & parameters) int eindex = evi > 65 ? 2 : evi < 33 ? 0 : 1; int surr = sindex + eindex * 3; - char* surroundings[] = { "Serene", "Mirthful", "Joyous Wilds", "Calm", "Wilderness", "Untamed Wilds", "Sinister", "Haunted", "Terrifying" }; + const char* surroundings[] = { "Serene", "Mirthful", "Joyous Wilds", "Calm", "Wilderness", "Untamed Wilds", "Sinister", "Haunted", "Terrifying" }; // biome, geolayer out << "biome: " << des.bits.biome << " (" << |
