diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-09-15 19:38:51 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-09-15 19:38:51 +0200 |
commit | 736e4e752bd95e39749b97968443f3781600f578 (patch) | |
tree | 36f2d84074f1b1c99d0a49bfe1c4b6dde19ffd72 /plugin/drumgizmo_plugin.cc | |
parent | 9e613d9d5cc0d4e8c5607ffe5f4d84ba598086b9 (diff) |
Fix size_t on 64 issue.
Diffstat (limited to 'plugin/drumgizmo_plugin.cc')
-rw-r--r-- | plugin/drumgizmo_plugin.cc | 2 |
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) || |