Skip to content

Commit

Permalink
ims_dialog: cast pv value to long
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Nov 21, 2022
1 parent cbcad7a commit 8c4feb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/ims_dialog/ims_dialog.c
Expand Up @@ -737,7 +737,7 @@ static int w_get_profile_size3(struct sip_msg *msg, char *profile,

memset(&val, 0, sizeof (pv_value_t));
val.flags = PV_VAL_INT | PV_TYPE_INT;
val.ri = (int) size;
val.ri = (long) size;

if (sp_dest->setf(msg, &sp_dest->pvp, (int) EQ_T, &val) < 0) {
LM_ERR("setting profile PV failed\n");
Expand Down

0 comments on commit 8c4feb0

Please sign in to comment.