Commit 203afa1c authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Don't pointlessly cast sizeof's result to size_t

parent 4b089dba
......@@ -3645,7 +3645,7 @@ ocGetNames_PEi386 ( ObjectCode* oc )
}
if (kind != SECTIONKIND_OTHER && end >= start) {
if ((((size_t)(start)) % (size_t)sizeof(void *)) != 0) {
if ((((size_t)(start)) % sizeof(void *)) != 0) {
barf("Misaligned section: %p", start);
}
......
Markdown is supported
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