canvas/source/directx/dx_canvasbitmap.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit f2d039f67743c7588df5cfd725915627b6efb0ba Author: Michael Stahl <[email protected]> Date: Thu May 26 20:34:09 2016 +0200 canvas: error C2397: conversion from 'size_t' to 'BYTE' requires ... a narrowing conversion (at least other people's MSVC says so, mine doesn't complain) Change-Id: Ic87da76567778884b81361067075fd9325e2d276 diff --git a/canvas/source/directx/dx_canvasbitmap.cxx b/canvas/source/directx/dx_canvasbitmap.cxx index e2e249a..35877dd 100644 --- a/canvas/source/directx/dx_canvasbitmap.cxx +++ b/canvas/source/directx/dx_canvasbitmap.cxx @@ -68,7 +68,8 @@ namespace dxcanvas { // this here fills palette with grey level colors, starting // from 0,0,0 up to 255,255,255 - bmiColors[i] = { i,i,i,i }; + BYTE const b(i); + bmiColors[i] = { b,b,b,b }; } } }; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
