osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/40873?usp=email ) Change subject: Fix building for debian 13 armv7l ...................................................................... Fix building for debian 13 armv7l In Debian 13 armv7l, time_t and suseconds_t are "long long int" instead of "long unsigned int" as seen on x86_64 and aarch64. Fix it by casting to "long unsigned int". Related: OS#6828 Change-Id: I3de792d62b1989cf35051cbecde98fa9030bfbf2 --- M src/libmsc/msc_vty.c 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/73/40873/1 diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c index 41cb0d4..93cc75c 100644 --- a/src/libmsc/msc_vty.c +++ b/src/libmsc/msc_vty.c @@ -1049,8 +1049,8 @@ VTY_NEWLINE); } else if (osmo_clock_gettime(CLOCK_MONOTONIC, &now) == 0) { MSC_VTY_DUMP(vty, offset, "Expires: in %ld min %ld sec%s", - (vsub->expire_lu - now.tv_sec) / 60, - (vsub->expire_lu - now.tv_sec) % 60, + (unsigned int long) ((vsub->expire_lu - now.tv_sec) / 60), + (unsigned int long) ((vsub->expire_lu - now.tv_sec) % 60), VTY_NEWLINE); } -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/40873?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I3de792d62b1989cf35051cbecde98fa9030bfbf2 Gerrit-Change-Number: 40873 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith@sysmocom.de>