msgb: Fix -Wsign-compare warnings

Change-Id: I4bd14bb712fb3868b55d7e79d13276b707a6cdcb
changes/15/26815/2
Harald Welte 11 months ago
parent 0b08d518f2
commit 494282f767
  1. 4
      src/msgb.c

@ -426,11 +426,11 @@ int msgb_resize_area(struct msgb *msg, uint8_t *area,
*/
char *msgb_hexdump_buf(char *buf, size_t buf_len, const struct msgb *msg)
{
int buf_offs = 0;
unsigned int buf_offs = 0;
int nchars;
const unsigned char *start = msg->data;
const unsigned char *lxhs[4];
int i;
unsigned int i;
lxhs[0] = msg->l1h;
lxhs[1] = msg->l2h;

Loading…
Cancel
Save