diff options
author | David Robillard <d@drobilla.net> | 2017-02-11 15:54:38 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-02-11 15:54:38 +0100 |
commit | 740b0b7874c0393a14354eb447d689bc30da3eac (patch) | |
tree | 658658abca8de37d65b57aa15b008e6f9cddb21e /src/ColorContext.cpp | |
parent | 2f2253a8a642edbccdb9ff477fd0f4f0060da283 (diff) | |
download | ingen-740b0b7874c0393a14354eb447d689bc30da3eac.tar.gz ingen-740b0b7874c0393a14354eb447d689bc30da3eac.tar.bz2 ingen-740b0b7874c0393a14354eb447d689bc30da3eac.zip |
Fix warning
Diffstat (limited to 'src/ColorContext.cpp')
-rw-r--r-- | src/ColorContext.cpp | 2 |
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); } } |