From 450e09c8c69942ed0c7baad4b958c3e07dbdab4e Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Thu, 21 Jun 2012 13:30:57 +0900 Subject: [PATCH] gdiplus: Make some data const. --- dlls/gdiplus/image.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 52b3750692..351160bb54 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -2462,7 +2462,7 @@ struct image_format_dimension const GUID *dimension; }; -static struct image_format_dimension image_format_dimensions[] = +static const struct image_format_dimension image_format_dimensions[] = { {&ImageFormatGIF, &FrameDimensionTime}, {&ImageFormatIcon, &FrameDimensionResolution}, @@ -2563,7 +2563,7 @@ GpStatus WINGDIPAPI GdipLoadImageFromFileICM(GDIPCONST WCHAR* filename,GpImage * return GdipLoadImageFromFile(filename, image); } -static const WICPixelFormatGUID *wic_pixel_formats[] = { +static const WICPixelFormatGUID * const wic_pixel_formats[] = { &GUID_WICPixelFormat16bppBGR555, &GUID_WICPixelFormat24bppBGR, &GUID_WICPixelFormat32bppBGR,