diff options
Diffstat (limited to 'canvas/source/directx/dx_vcltools.cxx')
-rw-r--r-- | canvas/source/directx/dx_vcltools.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/canvas/source/directx/dx_vcltools.cxx b/canvas/source/directx/dx_vcltools.cxx index 1efc1e30b174..b8e511a09260 100644 --- a/canvas/source/directx/dx_vcltools.cxx +++ b/canvas/source/directx/dx_vcltools.cxx @@ -223,7 +223,7 @@ namespace dxcanvas // out notion of alpha is // different from the rest // of the world's - *pCurrOutput++ = 255 - (BYTE)*pAScan++; + *pCurrOutput++ = 255 - static_cast<BYTE>(*pAScan++); } } break; @@ -243,7 +243,7 @@ namespace dxcanvas // out notion of alpha is // different from the rest // of the world's - *pCurrOutput++ = 255 - (BYTE)*pAScan++; + *pCurrOutput++ = 255 - static_cast<BYTE>(*pAScan++); } } break; @@ -275,7 +275,7 @@ namespace dxcanvas // out notion of alpha is // different from the rest // of the world's - *pCurrOutput++ = 255 - (BYTE)*pAScan++; + *pCurrOutput++ = 255 - static_cast<BYTE>(*pAScan++); } } break; |