From 3349c366d36b304bf03d357e05cb50eaedcdacd7 Mon Sep 17 00:00:00 2001 From: Alex Spataru Date: Sun, 7 Nov 2021 23:31:20 -0600 Subject: [PATCH] Fix mistake --- libs/qwt/src/qwt_widget_overlay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/qwt/src/qwt_widget_overlay.cpp b/libs/qwt/src/qwt_widget_overlay.cpp index 56bf3268..5967fb13 100644 --- a/libs/qwt/src/qwt_widget_overlay.cpp +++ b/libs/qwt/src/qwt_widget_overlay.cpp @@ -220,8 +220,8 @@ void QwtWidgetOverlay::updateMask() // A fresh buffer from calloc() is usually faster // than reinitializing an existing one with // QImage::fill( 0 ) or memset() - size_t w = static_cast(width()); - size_t h = static_cast(width()); + size_t w = static_cast(width()); + size_t h = static_cast(width()); m_data->rgbaBuffer = ( uchar* )::calloc( w * h, 4 ); QImage image( m_data->rgbaBuffer,