From 4fc450cf552c4ce21fdc7baa0b7f748043b594ab Mon Sep 17 00:00:00 2001 From: dolorous Date: Sat, 18 Jul 2009 20:43:51 +0000 Subject: Apply vonbrand's patch in [2823698] to fix compilation under g++ 4.4.0. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10281 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/ouch.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source') 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; -- cgit v1.2.3-54-g00ecf