Commit d02c8884 authored by Reini Urban's avatar Reini Urban
Browse files

Fix overlap UB, use (uintptr)

Cast pointers to be compared to (uintptr_t) as in mem_prim_move
"Comparing pointers from two separately allocated objects is forbidden as
per 6.5.8 C11 except when using (in)equality."

See also intel/safestringlib#18
Closes GH #51
parent 8ed1071f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment