From 9e958b2c1e8789ec5954df23c1138d51e040024d Mon Sep 17 00:00:00 2001 From: Laurent Carlier Date: Sat, 2 Nov 2019 17:19:52 +0100 Subject: [PATCH] Fix warning about converting a packed CWIDGET pointer.....may result in an unaligned pointer value Remove PACKED attribute - it doesn't change the size of CWIDGET (56 on x86_64) --- gb.qt4/src/CWidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gb.qt4/src/CWidget.h b/gb.qt4/src/CWidget.h index 09ae4b233..668b975d3 100644 --- a/gb.qt4/src/CWidget.h +++ b/gb.qt4/src/CWidget.h @@ -83,7 +83,7 @@ typedef char *name; void *font; } - PACKED +// PACKED CWIDGET; // BEWARE: gb.qt.h MUST be updated accordingly! typedef