Fix size of memcpy in SDL_AudioDeviceFormatChangedAlreadyLocked

And add diagnostic that allows to find this kind of issue in clang-tidy
This commit is contained in:
Mathieu Eyraud
2023-08-05 18:58:30 +02:00
committed by Ryan C. Gordon
parent 4bb426abad
commit 778e8185cd
2 changed files with 2 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ Checks: >
clang-analyzer-core.*,
clang-analyzer-valist.*,
clang-analyzer-unix.Malloc,
clang-diagnostic-*,
google-readability-casting,
misc-misleading-bidirectional,
misc-misleading-identifier,