From ff30d5e7c9a6a9d5dd476c6d023ec579b0ed0224 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Sun, 8 Jun 2008 13:48:17 -0300 Subject: [PATCH] Quench compiler warning about char -> downcast. --- lily/relocate.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lily/relocate.cc b/lily/relocate.cc index 42c54a65ff..9c8e464d32 100644 --- a/lily/relocate.cc +++ b/lily/relocate.cc @@ -336,7 +336,7 @@ expand_environment_variables (string orig) return out; } - +// Ugh - very inefficient, but safer than fgets. static string read_line (FILE *f) { @@ -344,7 +344,7 @@ read_line (FILE *f) int c = 0; while ((c = fgetc (f)) != EOF && c != '\n') - out += c; + out += char(c); return out; } -- 2.39.5