Describe the issue
In builds with Apple Clang, several warnings were identified with regard to 64-to-32-bit conversion while keeping other strict checks enabled.
Proposed cleanup
Resolve 64-to-32 bit conversion warnings in Apple Clang builds by using explicit static_cast for intentional truncation and matching variable types where appropriate.