diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-01-14 11:10:04 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-01-14 11:10:08 +0100 |
commit | 825a1e40a856ea6f33015480468414cb3ce0455e (patch) | |
tree | dea78eccbd8cdbd7878fe7ae7676d884af4037d9 /src | |
parent | 220f0e2d94a2299f8b059957e94609fcfb4c1fbc (diff) |
tests/hnb-test-ranap: Fix incorrect pointer type cast
osmo_hexdump expect it to be a const unsigned char*, and gcc warns about
incorrect signedness.
Change-Id: I7e0622f502a4442d700340b0f1c2f8cd01e90ecd
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/hnb-test-ranap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/hnb-test-ranap.c b/src/tests/hnb-test-ranap.c index 517e1a3..fe7db48 100644 --- a/src/tests/hnb-test-ranap.c +++ b/src/tests/hnb-test-ranap.c @@ -5,7 +5,7 @@ static const char *printstr(OCTET_STRING_t *s) { - return osmo_hexdump((char*)s->buf, s->size); + return osmo_hexdump((const unsigned char*)s->buf, s->size); } #define PP(octet_string_t) \ |