summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/drumgizmo_plugin.cc2
1 files changed, 1 insertions, 1 deletions
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) ||