windowscodecs: Fix init of LONGLONG variable with a negative value in TGA decoder.

This commit is contained in:
Christian Costa 2015-01-15 09:57:18 +01:00 committed by Alexandre Julliard
parent 317fc7aaf8
commit cc95915a3c
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ static HRESULT WINAPI TgaDecoder_Initialize(IWICBitmapDecoder *iface, IStream *p
This->image_offset = This->colormap_offset + This->colormap_length;
/* Read footer if there is one */
seek.QuadPart = -sizeof(tga_footer);
seek.QuadPart = -(LONGLONG)sizeof(tga_footer);
hr = IStream_Seek(pIStream, seek, STREAM_SEEK_END, NULL);
if (SUCCEEDED(hr)) {