From 0b27f2ec0fd097b381016f92d07da0960fb84634 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Thu, 24 Apr 2014 21:23:37 +0000 Subject: [PATCH] Fix int->scalar warning on windows Review URL: https://codereview.chromium.org/257693002 git-svn-id: http://skia.googlecode.com/svn/trunk@14366 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gm/discard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gm/discard.cpp b/gm/discard.cpp index ae3947dfe4..ce89e98507 100644 --- a/gm/discard.cpp +++ b/gm/discard.cpp @@ -74,7 +74,7 @@ protected: surface->getCanvas()->drawPaint(paint); break; } - surface->draw(canvas, 10*x, 10*y, NULL); + surface->draw(canvas, 10.f*x, 10.f*y, NULL); } }