Mercurial > hg > freeDiameter
comparison CMakeLists.txt @ 1442:915450ee91c7
fix gcc 9.1.1 compile warnings
Use snprintf instead of strncpy to ensure NUL termination.
Simplify attribute copying to calloc/memcpy instead
of malloc/memset/strncpy/assignment.
Appeases gcc 9.1.1 warnings about strncpy bounds.
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Thu, 27 Feb 2020 16:19:24 +1100 |
parents | 1979715b744f |
children | 7c777b0082ec 9084c6f94a0a |
comparison
equal
deleted
inserted
replaced
1441:6029afe9bacb | 1442:915450ee91c7 |
---|