Skip to content

Commit

Permalink
Fixing DLL loading on Windows with PDBs.
Browse files Browse the repository at this point in the history
  • Loading branch information
benvanik committed Apr 15, 2021
1 parent be1d6db commit 8545dd7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions iree/base/internal/dynamic_library_win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,7 @@ iree_status_t iree_dynamic_library_attach_symbols_from_memory(
IREE_ASSERT_ARGUMENT(library);
IREE_TRACE_ZONE_BEGIN(z0);

if (library->temp_file_count + 1 >=
IREE_ARRAYSIZE(library->temp_file_paths)) {
if (library->temp_file_count + 1 > IREE_ARRAYSIZE(library->temp_file_paths)) {
return iree_make_status(IREE_STATUS_RESOURCE_EXHAUSTED,
"too many temp files attached");
}
Expand Down

0 comments on commit 8545dd7

Please sign in to comment.