From d30573a0e0a933c6bc72c1a769a5636ff47822a6 Mon Sep 17 00:00:00 2001 From: jj Date: Thu, 10 May 2012 22:57:11 +0200 Subject: [PATCH] probe: fix gcc warning --- plugins/probe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/probe.cpp b/plugins/probe.cpp index eb622e789..b7b7d298f 100644 --- a/plugins/probe.cpp +++ b/plugins/probe.cpp @@ -232,7 +232,7 @@ command_result df_probe (color_ostream &out, vector & 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 << " (" <<