Fixed C++11 support

This commit is contained in:
Pavel Kirienko
2014-03-17 19:06:11 +04:00
parent fa8a9cd8ed
commit 4025bf033b
3 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -466,7 +466,7 @@ class YamlStreamer<Array<T, ArrayMode, MaxSize> >
const int c = array.at(i);
if (c < 32 || c > 126)
{
char nibbles[2] = {(c >> 4) & 0xF, c & 0xF};
char nibbles[2] = {char((c >> 4) & 0xF), char(c & 0xF)};
for (int i = 0; i < 2; i++)
{
nibbles[i] += '0';