Commits

Bram Moolenaar  committed 562bbee

updated for version 7.3.778
Problem: Compiler error for adding up two pointers. (Titov Anatoly)
Solution: Add a type cast. (Ken Takata)

  • Participants
  • Parent commits 17d2376
  • Tags v7-3-778

Comments (0)

Files changed (2)

 	{
 	    if (IMAGE_SNAP_BY_ORDINAL(pINT->u1.Ordinal))
 		continue;
-	    pImpName = (PIMAGE_IMPORT_BY_NAME)(pImage + pINT->u1.AddressOfData);
+	    pImpName = (PIMAGE_IMPORT_BY_NAME)(pImage
+					+ (UINT_PTR)(pINT->u1.AddressOfData));
 	    if (strcmp(pImpName->Name, funcname) == 0)
 		return (void *)pIAT->u1.Function;
 	}

File src/version.c

 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    778,
+/**/
     777,
 /**/
     776,