Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lib/OpenEXRCore/chunk.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ extract_chunk_table (
if (ctable == NULL)
{
int64_t nread = 0;
uintptr_t eptr = 0, nptr = 0;
uint64_t eptr = 0, nptr = 0;
int complete = 1;
uint64_t maxoff = ((uint64_t) -1);
exr_result_t rv;
Expand Down Expand Up @@ -639,7 +639,7 @@ extract_chunk_table (
}
else { priv_to_native64 (ctable, part->chunk_count); }

nptr = (uintptr_t) ctable;
nptr = (uint64_t) ctable;
// see if we win or not
if (!atomic_compare_exchange_strong (
EXR_CONST_CAST (atomic_uintptr_t*, &(part->chunk_table)),
Expand Down