diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index b9c7371d53..e73d081c87 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -2793,8 +2793,8 @@ static int show_reg_callback(void *pArg, int argc, char **argv, char **columnNam if (argv[6]) { time_t now = switch_epoch_time_now(NULL); - switch_time_t etime = atoi(argv[6]); - exp_unix = (int)(atoi(argv[6])); + switch_time_t etime = atoi(argv[6]); + exp_unix = atoi(argv[6]); switch_size_t retsize; exp_secs = (int)(etime - now);