Skip to content

Commit 41a3230

Browse files
committed
dialog: Avoid storing id/entry values as signed integers
This patch does not necessarily fix an immediate issue, however it's never advisable to compare / assign integers of different signedness.
1 parent 103bdb4 commit 41a3230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/dialog/dlg_db_handler.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1762,7 +1762,7 @@ static int sync_dlg_db_mem(void)
17621762
struct socket_info *caller_sock,*callee_sock;
17631763
str callid, from_uri, to_uri, from_tag, to_tag;
17641764
str cseq1,cseq2,contact1,contact2,rroute1,rroute2,mangled_fu,mangled_tu;
1765-
int hash_entry,hash_id;
1765+
unsigned int hash_entry, hash_id;
17661766
str tag_name;
17671767
int rc;
17681768

0 commit comments

Comments
 (0)