diff options
author | John Crispin <blogic@openwrt.org> | 2014-12-10 06:22:21 +0100 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-12-10 06:22:21 +0100 |
commit | e195e48623be73d9b6a787d7ede951cb426393a9 (patch) | |
tree | 5d0ddc2d722b32159a690fcc314a97e4d6c530dd | |
parent | 4ae19ab4fcdd70dbfc8c303d752502f2da5a7e75 (diff) |
fix build for 64 bit systems
Signed-off-by: John Crispin <blogic@openwrt.org>
-rw-r--r-- | cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -177,8 +177,8 @@ mbim_attach_response(void *buffer, int len) mbim_enum_string(mbim_nw_error_values, le32toh(ps->nwerror))); printf(" packetservicestate: %04X - %s\n", le32toh(ps->packetservicestate), mbim_enum_string(mbim_packet_service_state_values, le32toh(ps->packetservicestate))); - printf(" uplinkspeed: %"PRIu64"\n", le64toh(ps->uplinkspeed)); - printf(" downlinkspeed: %"PRIu64"\n", le64toh(ps->downlinkspeed)); + printf(" uplinkspeed: %"PRIu64"\n", (uint64_t) le64toh(ps->uplinkspeed)); + printf(" downlinkspeed: %"PRIu64"\n", (uint64_t) le64toh(ps->downlinkspeed)); if (MBIM_PACKET_SERVICE_STATE_ATTACHED == le32toh(ps->packetservicestate)) return 0; |