Fix warning when exporting stubs

This commit is contained in:
Carsten Teibes
2020-06-24 18:02:19 +02:00
parent 3cfacc675d
commit 14c5b3f6ba

View File

@@ -405,7 +405,7 @@ void build_exports(void)
fprintf(stdout, "\t{ \"%s\", ", pLib->name);
}
fprintf(stdout, "0x%04X, 0x%04X, 4, %d, %d, &__%s_exports },\n", pLib->ver, pLib->attr,
fprintf(stdout, "0x%04X, 0x%04X, 4, %d, %d, (unsigned int *) &__%s_exports },\n", pLib->ver, pLib->attr,
pLib->varCount, pLib->funcCount, pLib->name);
pLib = pLib->pNext;