@ -119,7 +119,7 @@ bool CQnetModem::GetVersion()
hardwareType = HWT_UNKNOWN;
}
printf("MMDVM protocol version: %u, Modem: %s", frame.protocol, frame.version);
printf("MMDVM protocol version: %u, Modem: %s", (unsigned int)frame.protocol, frame.version);
return false;
@ -62,7 +62,7 @@ typedef struct version_tag {
unsigned char length;
unsigned char type;
unsigned char protocol;
unsigned char version[252];
unsigned char version[251];
} SVERSION;
typedef struct mmodem_tag {
Powered by TurnKey Linux.