Skip to content
Snippets Groups Projects
Commit f028bb02 authored by Monster Iestyn's avatar Monster Iestyn
Browse files

Fix `numoflines` calculations in sectorlines_* functions by first typecasting...

Fix `numoflines` calculations in sectorlines_* functions by first typecasting seclines (the sector.lines address) to size_t before doing any math on it, then (after the math) typecast the result to size_t * and dereference it.

And yes, this time I tested it to make sure it works :)
parent 130794cc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment