[asterisk-commits] mmichelson: trunk r158266 -	/trunk/channels/chan_sip.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Thu Nov 20 19:22:19 CST 2008
    
    
  
Author: mmichelson
Date: Thu Nov 20 19:22:18 2008
New Revision: 158266
URL: http://svn.digium.com/view/asterisk?view=rev&rev=158266
Log:
Use a more expressive constant for a 64-bit scanned int
Modified:
    trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=158266&r1=158265&r2=158266
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu Nov 20 19:22:18 2008
@@ -7309,7 +7309,7 @@
 		ast_log(LOG_WARNING, "SDP syntax error in o= line\n");
 		return -1;
 	}
-	if (!sscanf(token, "%" __PRI64_PREFIX "u", &rua_version)) {
+	if (!sscanf(token, "%" SCNu64, &rua_version)) {
 		ast_log(LOG_WARNING, "SDP syntax error in o= line version\n");
 		return -1;
 	}
    
    
More information about the asterisk-commits
mailing list