From b801fc7ae7365701980d9da3d7ffeef50a3b291c Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Fri, 27 Nov 2020 11:03:09 +0200 Subject: [PATCH] BinEditor: Fix MSVC warning warning: C4309: 'argument': truncation of constant value Change-Id: I5da62c2534474f65d5b4d1b44b995dd765d02265 Reviewed-by: hjk --- src/plugins/bineditor/bineditorwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/bineditor/bineditorwidget.cpp b/src/plugins/bineditor/bineditorwidget.cpp index f0fd2377927..756bad3488a 100644 --- a/src/plugins/bineditor/bineditorwidget.cpp +++ b/src/plugins/bineditor/bineditorwidget.cpp @@ -64,7 +64,7 @@ using namespace Core; namespace BinEditor { namespace Internal { -const QChar MidpointChar = QLatin1Char(0xB7); +const QChar MidpointChar(u'\u00B7'); static QByteArray calculateHexPattern(const QByteArray &pattern) {