diff options
author | Ray Molenkamp <github@lazydodo.com> | 2020-08-28 18:46:57 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2020-08-28 18:47:52 +0300 |
commit | 1cb7267a9f9f1695f296bdbb618ec117f483484c (patch) | |
tree | 132fdc31da602a178439340ffaed19296a1df39b /build_files | |
parent | 4749bd227723459097c246aa8a77c74545bc36ef (diff) |
Cleanup: Fix build error with msvc
`ssize_t` is not a standardized type (it's a posix type)
given the line in question here is calculating the size
of a memory allocation there's no logical way this
should ever be negative.
I do not know this code too well and was unsure if
`mdverts->totweight` could ever be < 0, so I protected
it with a clamp, just in case.
Diffstat (limited to 'build_files')
0 files changed, 0 insertions, 0 deletions