mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Resolve compiler warning on mac.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@208193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -421,7 +421,8 @@ struct ast_channel *ast_cel_fabricate_channel_from_event(const struct ast_event | ||||
| 	} | ||||
|  | ||||
| 	if (ast_strlen_zero(cel_dateformat)) { | ||||
| 		snprintf(timebuf, sizeof(timebuf), "%ld.%06ld", record.event_time.tv_sec, record.event_time.tv_usec); | ||||
| 		snprintf(timebuf, sizeof(timebuf), "%ld.%06ld", record.event_time.tv_sec, | ||||
| 				(long) record.event_time.tv_usec); | ||||
| 	} else { | ||||
| 		struct ast_tm tm; | ||||
| 		ast_localtime(&record.event_time, &tm, NULL); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user