When compiled with g++ 6.3.1, I got the following error:
/home/lee/works/self/self/vm/src/any/os/xlibWindow.cpp: In member function ‘bool XPlatformWindow::setup_gcs()’:
/home/lee/works/self/self/vm/src/any/os/xlibWindow.cpp:164:51: error: narrowing conversion of ‘170’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa};
When compiled with g++ 6.3.1, I got the following error:
/home/lee/works/self/self/vm/src/any/os/xlibWindow.cpp: In member function ‘bool XPlatformWindow::setup_gcs()’: /home/lee/works/self/self/vm/src/any/os/xlibWindow.cpp:164:51: error: narrowing conversion of ‘170’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa};
This commit can fix this error.