summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/ouch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index ac3d8bc96d..491354444f 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -849,7 +849,7 @@ static void _maybe_spawn_jellies(int dam, const char* aux,
};
// Exclude torment damage
- char *ptr = strstr(aux, "torment");
+ const char *ptr = strstr(aux, "torment");
if (you.religion == GOD_JIYVA && you.piety >= 160 && ptr == NULL)
{
int how_many = 0;