Browse code

Merge branch 'master' of ssh://git.sip-router.org/sip-router

* 'master' of ssh://git.sip-router.org/sip-router:
modules/sca: cast logging of time_t to long int to quiet warnings.

Hugh Waite authored on 18/03/2013 17:24:03
Showing 1 changed files
... ...
@@ -457,7 +457,7 @@ sca_subscription_db_delete_expired( db1_con_t *db_con )
457 457
     if ( sca->db_api->delete( db_con, delete_columns, delete_ops,
458 458
 				delete_values, kv_count ) < 0 ) {
459 459
 	LM_ERR( "sca_subscription_db_delete_expired: failed to delete "
460
-		"subscriptions expired before %ld", now );
460
+		"subscriptions expired before %ld", (long int)now );
461 461
 	return( -1 );
462 462
     }
463 463
 
... ...
@@ -683,7 +683,7 @@ sca_subscription_print( void *value )
683 683
 		sca_event_name_from_type( sub->event ),
684 684
 		sub->event,
685 685
 		STR_FMT( &sub->subscriber ),
686
-		sub->expires, sub->index,
686
+		(long int)sub->expires, sub->index,
687 687
 		STR_FMT( &sub->dialog.call_id ),
688 688
 		STR_FMT( &sub->dialog.from_tag ),
689 689
 		STR_FMT( &sub->dialog.to_tag ),