From 26acc2d233c58db8345770d67b777b7cbd09bcab Mon Sep 17 00:00:00 2001 From: sincos2854 Date: Tue, 23 Apr 2024 17:28:12 +0900 Subject: [PATCH] Fix alignment of PictureInfo structure --- spi00in.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spi00in.h b/spi00in.h index ace296c..fee9203 100644 --- a/spi00in.h +++ b/spi00in.h @@ -27,7 +27,7 @@ struct PictureInfo { WORD y_density; short colorDepth; #ifdef _WIN64 - BYTE alignment[2]; + char dummy[2]; #endif HLOCAL hInfo; };