Browse Source
This fixes the warning that I get with GCC 11.3: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:34: warning: ‘__builtin_strncpy’ writing 50 bytes into a region of size 24 overflows the destination [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^ /usr/include/x86_64-linux-gnu/bits/string_fortified.h: In member function ‘_handleStatusText’: ../Qt/5.15.2/gcc_64/include/QtCore/qarraydata.h:129:8: note: destination object ‘<anonymous>’ of size 24 129 | struct QTypedArrayData | ^ Signed-off-by: Julian Oes <julian@oes.ch>QGC4.4
1 changed files with 3 additions and 4 deletions
Loading…
Reference in new issue