summaryrefslogtreecommitdiffstats
path: root/src/ColorContext.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-02-11 15:54:38 +0100
committerDavid Robillard <d@drobilla.net>2017-02-11 15:54:38 +0100
commit740b0b7874c0393a14354eb447d689bc30da3eac (patch)
tree658658abca8de37d65b57aa15b008e6f9cddb21e /src/ColorContext.cpp
parent2f2253a8a642edbccdb9ff477fd0f4f0060da283 (diff)
downloadingen-740b0b7874c0393a14354eb447d689bc30da3eac.tar.gz
ingen-740b0b7874c0393a14354eb447d689bc30da3eac.tar.bz2
ingen-740b0b7874c0393a14354eb447d689bc30da3eac.zip
Fix warning
Diffstat (limited to 'src/ColorContext.cpp')
-rw-r--r--src/ColorContext.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}