gdiplus: Remove superfluous pointer casts.

This commit is contained in:
Michael Stefaniuc 2009-01-14 09:52:24 +01:00 committed by Alexandre Julliard
parent 4c7e72bb96
commit b53877d92e
3 changed files with 3 additions and 3 deletions

View File

@ -3229,7 +3229,7 @@ GpStatus WINGDIPAPI GdipMultiplyWorldTransform(GpGraphics *graphics, GDIPCONST G
m = *(graphics->worldtrans);
ret = GdipMultiplyMatrix(&m, (GpMatrix*)matrix, order);
ret = GdipMultiplyMatrix(&m, matrix, order);
if(ret == Ok)
*(graphics->worldtrans) = m;

View File

@ -1180,7 +1180,7 @@ static GpStatus encode_image_BMP(LPVOID bitmap_bits, LPBITMAPINFO bitmap_info,
*output = GdipAlloc(*output_size);
bmp_file_hdr = (BITMAPFILEHEADER*) *output;
bmp_file_hdr = *output;
bmp_file_hdr->bfType = BITMAP_FORMAT_BMP;
bmp_file_hdr->bfSize = *output_size;
bmp_file_hdr->bfOffBits =

View File

@ -455,7 +455,7 @@ static void test_GdipCreateBitmapFromHBITMAP(void)
LogPal = GdipAlloc(sizeof(LOGPALETTE));
ok(LogPal != NULL, "unable to allocate LOGPALETTE\n");
LogPal->palVersion = 0x300;
hpal = CreatePalette((const LOGPALETTE*) LogPal);
hpal = CreatePalette(LogPal);
ok(hpal != NULL, "CreatePalette failed\n");
GdipFree(LogPal);