From 4df64d0c65d95c4775105589f1dc29c35b0f496e Mon Sep 17 00:00:00 2001 From: mattias Date: Wed, 1 Apr 2015 09:15:55 +0000 Subject: [PATCH] lcl: changed tagBITMAPCOREHEADER and tagBITMAPINFOHEADER to packed, they are used to read .bmp files git-svn-id: trunk@48567 - --- lcl/lcltype.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lcl/lcltype.pp b/lcl/lcltype.pp index 22730a059f..b76b3cf939 100644 --- a/lcl/lcltype.pp +++ b/lcl/lcltype.pp @@ -1264,7 +1264,7 @@ type PBitmapCoreHeader = ^TBitmapCoreHeader; - tagBITMAPCOREHEADER = record + tagBITMAPCOREHEADER = packed record // use packed, this is the .bmp file format bcSize: DWORD; bcWidth: Word; bcHeight: Word; @@ -1276,7 +1276,7 @@ type PBitmapInfoHeader = ^TBitmapInfoHeader; - tagBITMAPINFOHEADER = record + tagBITMAPINFOHEADER = packed record // use packed, this is the .bmp file format biSize : DWORD; biWidth : Longint; biHeight : Longint;