From fb87431ba541399eb65dbcbba50061b81bddad33 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 9 Oct 2016 15:26:05 +0000 Subject: [PATCH] Fix a numeric conversion warning. --- src/draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/draw.cpp b/src/draw.cpp index b61a36b..6ece2ec 100644 --- a/src/draw.cpp +++ b/src/draw.cpp @@ -607,7 +607,7 @@ void GraphicsWindow::Draw(Canvas *canvas) { // Place the background at the very back of the Z order. Canvas::Fill fillBackground = {}; - fillBackground.color = RGBi(0.0, 0.0, 0.0); + fillBackground.color = RGBi(0, 0, 0); fillBackground.layer = Canvas::Layer::BACK; Canvas::hFill hcfBackground = canvas->GetFill(fillBackground);