diff --git a/src/sys/graphics/main.cpp b/src/sys/graphics/main.cpp index 119759b..79083b7 100755 --- a/src/sys/graphics/main.cpp +++ b/src/sys/graphics/main.cpp @@ -13,9 +13,9 @@ buf = new TGfx0(); pixfmt.BPP=8; buf->create(400,400,(TPixelFmt *)&def_pixfmt_16bpp); - cout << def_pixfmt_16bpp.BPP << endl; - cout << buf->BPP << endl; - cout << buf->RedShifter << endl; + cout << (int)def_pixfmt_16bpp.BPP << endl; + cout << (int)buf->BPP << endl; + cout << (int)buf->RedShifter << endl; if (buf) delete buf; return(0); }