From 740b0b7874c0393a14354eb447d689bc30da3eac Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 11 Feb 2017 15:54:38 +0100 Subject: Fix warning --- src/ColorContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ColorContext.cpp b/src/ColorContext.cpp index e136126b..23b568f1 100644 --- a/src/ColorContext.cpp +++ b/src/ColorContext.cpp @@ -29,7 +29,7 @@ ColorContext::ColorContext(FILE* stream, Color color) : _stream(stream) { if (isatty(fileno(_stream))) { - fprintf(_stream, "\033[0;%dm", color); + fprintf(_stream, "\033[0;%dm", (int)color); } } -- cgit v1.2.1