... | ... |
@@ -580,7 +580,7 @@ static int t_flush_flags(struct sip_msg* msg, char *dir, char *foo) |
580 | 580 |
} |
581 | 581 |
|
582 | 582 |
/* do the flush */ |
583 |
- switch ((int)dir) { |
|
583 |
+ switch ((long)dir) { |
|
584 | 584 |
case 1: |
585 | 585 |
t->uas.request->flags = msg->flags; |
586 | 586 |
break; |
... | ... |
@@ -588,7 +588,8 @@ static int t_flush_flags(struct sip_msg* msg, char *dir, char *foo) |
588 | 588 |
msg->flags = t->uas.request->flags; |
589 | 589 |
break; |
590 | 590 |
default: |
591 |
- LOG(L_ERR,"ERROR:t_flush_flags: unknown direction %d\n",(int)dir); |
|
591 |
+ LOG(L_ERR,"ERROR:t_flush_flags: unknown direction %ld\n", |
|
592 |
+ (long)dir); |
|
592 | 593 |
return -1; |
593 | 594 |
} |
594 | 595 |
return 1; |