mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8256486: Linux/Windows-x86 builds broken after JDK-8254231
Reviewed-by: shade
This commit is contained in:
parent
461c5fc637
commit
7c73fff34d
12 changed files with 120 additions and 40 deletions
|
@ -49,7 +49,7 @@ void* findEntryInProcess(const char* name) {
|
|||
|
||||
// first come, first served
|
||||
if (EnumProcessModules(hProcess, hMods, sizeof(hMods), &cbNeeded)) {
|
||||
for (int i = 0; i < (cbNeeded / sizeof(HMODULE)); i++) {
|
||||
for (size_t i = 0; i < (cbNeeded / sizeof(HMODULE)); i++) {
|
||||
HMODULE mod = hMods[i];
|
||||
FARPROC proc = GetProcAddress(mod, name);
|
||||
if(proc != NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue