Commit 6d82b2f1 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

winemenubuilder: Remove useless cast to self.

parent d9c99ac4
......@@ -539,7 +539,7 @@ static int populate_module16_icons(struct IconData16 *iconData16, GRPICONDIR *gr
for (j = 0; j < iconData16->iconResources->count; j++)
{
NE_NAMEINFO *iconInfo = (NE_NAMEINFO*)iconPtr;
if ((((BYTE*)iconPtr) + sizeof(NE_NAMEINFO)) > (iconData16->fileBytes + iconData16->fileSize))
if ((iconPtr + sizeof(NE_NAMEINFO)) > (iconData16->fileBytes + iconData16->fileSize))
{
WINE_WARN("file too small for icon NE_NAMEINFO\n");
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment