From 736e4e752bd95e39749b97968443f3781600f578 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 15 Sep 2016 19:38:51 +0200 Subject: Fix size_t on 64 issue. --- plugin/drumgizmo_plugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/drumgizmo_plugin.cc b/plugin/drumgizmo_plugin.cc index 595ec3d..e63bdfd 100644 --- a/plugin/drumgizmo_plugin.cc +++ b/plugin/drumgizmo_plugin.cc @@ -200,7 +200,7 @@ void DrumGizmoPlugin::onInlineRedraw(std::size_t width, std::size_t max_height, InlineDrawContext& context) { - std::size_t height = std::min(11u, max_height); + std::size_t height = std::min(std::size_t(11), max_height); if(!context.data || (context.width != width) || (context.height != height) || -- cgit v1.2.3