Permalink
Browse files

updated for version 7.3.778

Problem:    Compiler error for adding up two pointers. (Titov Anatoly)
Solution:   Add a type cast. (Ken Takata)
  • Loading branch information...
brammool committed Jan 23, 2013
1 parent ae4a8a1 commit 790813992c12469657a3d728420bea8e6af566b4
Showing with 4 additions and 1 deletion.
  1. +2 −1 src/mbyte.c
  2. +2 −0 src/version.c
View
@@ -4325,7 +4325,8 @@ get_iconv_import_func(HINSTANCE hInst, const char *funcname)
{
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;
}
View
@@ -725,6 +725,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 778,
/**/
777,
/**/

0 comments on commit 7908139

Please sign in to comment.