From 825a1e40a856ea6f33015480468414cb3ce0455e Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 14 Jan 2021 11:10:04 +0100 Subject: [PATCH] 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 --- src/tests/hnb-test-ranap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/hnb-test-ranap.c b/src/tests/hnb-test-ranap.c index 517e1a30..fe7db489 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) \