diff options
| author | Peter0x44 <[email protected]> | 2024-06-24 08:29:10 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-24 09:29:10 +0200 |
| commit | 4311db5ba5eb23c8f1d71268010afb135f3e1e25 (patch) | |
| tree | 555dff97f2e9afcbaec68622099218739823a0a2 /examples/shaders | |
| parent | f947f890617fade5bdcaccaaeb812306dc7658de (diff) | |
| download | raylib-4311db5ba5eb23c8f1d71268010afb135f3e1e25.tar.gz raylib-4311db5ba5eb23c8f1d71268010afb135f3e1e25.zip | |
[rmodels] Fix -Wstringop-truncation warning (#4096)
rmodels.c: In function ‘LoadBoneInfoGLTF.isra’:
rmodels.c:4874:32: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
4874 | if (node.name != NULL) strncpy(bones[i].name, node.name, sizeof(bones[i].name));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'examples/shaders')
0 files changed, 0 insertions, 0 deletions
