Browse Source

fixed (blindly, hopefully correctly) signed/unsigned incompatibilites

Jiri Kuthan 23 years ago
parent
commit
04813d1439
4 changed files with 4 additions and 4 deletions
  1. 1 1
      modules/tm/t_msgbuilder.c
  2. 1 1
      modules/tm/t_msgbuilder.h
  3. 1 1
      modules/tm/t_reply.c
  4. 1 1
      modules/tm/t_reply.h

+ 1 - 1
modules/tm/t_msgbuilder.c

@@ -169,7 +169,7 @@ error:
 
 
 char *build_uac_request(  str msg_type, str dst, str from,
 char *build_uac_request(  str msg_type, str dst, str from,
     	str headers, str body, int branch, 
     	str headers, str body, int branch, 
-		struct cell *t, int *len)
+		struct cell *t, unsigned int *len)
 {
 {
 	char *via;
 	char *via;
 	unsigned int via_len;
 	unsigned int via_len;

+ 1 - 1
modules/tm/t_msgbuilder.h

@@ -75,7 +75,7 @@ char *build_local(struct cell *Trans, unsigned int branch,
 
 
 char *build_uac_request(  str msg_type, str dst, str from,
 char *build_uac_request(  str msg_type, str dst, str from,
 	str headers, str body, int branch,
 	str headers, str body, int branch,
-	struct cell *t, int *len);
+	struct cell *t, unsigned int *len);
 
 
 int t_calc_branch(struct cell *t,
 int t_calc_branch(struct cell *t,
 	int b, char *branch, int *branch_len);
 	int b, char *branch, int *branch_len);

+ 1 - 1
modules/tm/t_reply.c

@@ -803,7 +803,7 @@ enum rps t_should_relay_response( struct cell *Trans , int new_code,
 }
 }
 
 
 char *build_ack(struct sip_msg* rpl,struct cell *trans,int branch,
 char *build_ack(struct sip_msg* rpl,struct cell *trans,int branch,
-	int *ret_len)
+	unsigned int *ret_len)
 {
 {
 	str to;
 	str to;
 
 

+ 1 - 1
modules/tm/t_reply.h

@@ -104,7 +104,7 @@ void set_final_timer( /* struct s_table *h_table,*/ struct cell *t );
 void cleanup_uac_timers( struct cell *t );
 void cleanup_uac_timers( struct cell *t );
 
 
 char *build_ack( struct sip_msg* rpl, struct cell *trans, int branch ,
 char *build_ack( struct sip_msg* rpl, struct cell *trans, int branch ,
-	int *ret_len);
+	unsigned int *ret_len);
 
 
 void on_negative_reply( struct cell* t, struct sip_msg* msg,
 void on_negative_reply( struct cell* t, struct sip_msg* msg,
 	int code, void *param  );
 	int code, void *param  );