Skip to content

Commit 9a31c1e

Browse files
Change casted type to match the type of the assigned to variable on both, 32 and 64 bit platforms
1 parent a04cb6b commit 9a31c1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/OpenEXRCore/chunk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ extract_chunk_table (
639639
}
640640
else { priv_to_native64 (ctable, part->chunk_count); }
641641

642-
nptr = (uintptr_t) ctable;
642+
nptr = (uint64_t) ctable;
643643
// see if we win or not
644644
if (!atomic_compare_exchange_strong (
645645
EXR_CONST_CAST (atomic_uintptr_t*, &(part->chunk_table)),

0 commit comments

Comments
 (0)