]> git.ipfire.org Git - thirdparty/kea.git/commit
[#3256] attempt to fix nonsense Wstringop-overread
authorAndrei Pavel <andrei@isc.org>
Thu, 16 May 2024 12:45:41 +0000 (15:45 +0300)
committerAndrei Pavel <andrei@isc.org>
Mon, 20 May 2024 20:28:17 +0000 (23:28 +0300)
commit05362b115fdf6c082a1c21a85b53525dd824f417
treefff096cd4b797c4a9b350182a9ce3d41d449b942
parent934d8276fa0ddfabc2da847d00eac5e7f96542ca
[#3256] attempt to fix nonsense Wstringop-overread

```
warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
```

and Wsign-compare in the same file:

```
test_control.cc:116:35: warning: comparison of integers of different signs: 'uint64_t' (aka 'unsigned long') and 'int' [-Wsign-compare]                                                                                                                         338ms
test_control.cc:491:43: warning: comparison of integers of different signs: 'size_type' (aka 'unsigned long') and 'const int' [-Wsign-compare]
test_control.cc:529:50: warning: comparison of integers of different signs: 'size_type' (aka 'unsigned long') and 'const int' [-Wsign-compare]
```
src/bin/perfdhcp/test_control.cc