diff --git a/apps/modconfig.c b/apps/modconfig.c index 9c8f2e3..05e8530 100644 --- a/apps/modconfig.c +++ b/apps/modconfig.c @@ -276,7 +276,7 @@ int mci_cmd(int dev, struct mci_command *cmd) memset(&msg, 0, sizeof(msg)); msg.link = 0; memcpy(&msg.cmd, cmd, sizeof(msg.cmd)); - //dump((uint8_t *) &msg.cmd, sizeof(msg.cmd)); + //dump((const uint8_t *) &msg.cmd, sizeof(msg.cmd)); ret = ioctl(dev, IOCTL_DDB_MCI_CMD, &msg); if (ret < 0) { dprintf(2, "mci_cmd error %d (%s)\n", errno, strerror(errno)); @@ -458,7 +458,7 @@ int mci_lic(int dev) printf("MATYPE1: %02x\n", res->bb_header.matype_1); printf("MATYPE2: %02x\n", res->bb_header.matype_2); } - dump(&res->license, sizeof(res->license)); + dump((const uint8_t *)&res->license, sizeof(res->license)); return ret; }