From cccb8d925237b3bd73f02f548d1d980299186244 Mon Sep 17 00:00:00 2001 From: HR Date: Fri, 8 Apr 2011 09:10:35 +0200 Subject: [PATCH] patch to compile on amd64 with gcc4.4 --- Common/delcher.hh | 1 + Common/gene.cc | 2 +- ICM/icm.cc | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Common/delcher.hh b/Common/delcher.hh index 31a3834..689bc4a 100644 --- a/Common/delcher.hh +++ b/Common/delcher.hh @@ -31,6 +31,7 @@ #include #include #include +#include #include "exceptions.hh" diff --git a/Common/gene.cc b/Common/gene.cc index f1bc984..fea41f4 100644 --- a/Common/gene.cc +++ b/Common/gene.cc @@ -443,7 +443,7 @@ int Char_Sub // Return a subscript corresponding to character ch . { - char * p; + const char * p; p = strchr (CONVERSION_STRING, tolower (ch)); if (p == NULL) diff --git a/ICM/icm.cc b/ICM/icm.cc index d675c31..3376a75 100644 --- a/ICM/icm.cc +++ b/ICM/icm.cc @@ -1981,7 +1981,7 @@ int Subscript // model) for character ch . { - char * p; + const char * p; p = strchr (ALPHA_STRING, tolower (Filter (ch))); if (p == NULL) -- 1.7.1