diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-08 11:57:04 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-08 15:00:43 +0200 |
commit | f8e02042cf5392278c41e4714fc051175da8f7fd (patch) | |
tree | 1abde5d80f84072d5b2d24b48583416bd872a6c3 /src | |
parent | 8252476fc8c8bdcacbea41f886f085746df9016a (diff) | |
download | libpam-x2go-f8e02042cf5392278c41e4714fc051175da8f7fd.tar.gz libpam-x2go-f8e02042cf5392278c41e4714fc051175da8f7fd.tar.bz2 libpam-x2go-f8e02042cf5392278c41e4714fc051175da8f7fd.zip |
tests/mock_guest.c: Use same integer type (long unsigned int) for comparing string length returned by snprintf() and a sizeof() return value.
This resolves:
mock_guest.c: In function 'socket_sucker':
mock_guest.c:95:16: error: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Werror=sign-compare]
95 | if (printsize > sizeof(serv_addr.sun_path) - 1 || printsize < 0) {
| ^
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions