[asterisk-commits] kpfleming: branch 1.4 r47635 - /branches/1.4/channels/misdn/isdn_lib.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Nov 14 17:05:44 MST 2006


Author: kpfleming
Date: Tue Nov 14 18:05:44 2006
New Revision: 47635

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47635
Log:
silence compiler warning on 64-bit platforms (this variable is an 'int' anyway, comparing it to 'signed long' is not useful)

Modified:
    branches/1.4/channels/misdn/isdn_lib.c

Modified: branches/1.4/channels/misdn/isdn_lib.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/misdn/isdn_lib.c?view=diff&rev=47635&r1=47634&r2=47635
==============================================================================
--- branches/1.4/channels/misdn/isdn_lib.c (original)
+++ branches/1.4/channels/misdn/isdn_lib.c Tue Nov 14 18:05:44 2006
@@ -3474,7 +3474,7 @@
 int manager_isdn_handler(iframe_t *frm ,msg_t *msg)
 {  
 
-	if (frm->dinfo==(signed long)0xffffffff && frm->prim==(PH_DATA|CONFIRM)) {
+	if (frm->dinfo==0xffffffff && frm->prim==(PH_DATA|CONFIRM)) {
 		cb_log(0,0,"SERIOUS BUG, dinfo == 0xffffffff, prim == PH_DATA | CONFIRM !!!!\n");
 	}
 



More information about the asterisk-commits mailing list