Fixed compilation warnings.
Add new line and vi settings at the end of file. git-svn-id: http://yate.null.ro/svn/yate/trunk@5753 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
76fdb5ce75
commit
1e46a91857
|
@ -895,7 +895,7 @@ static unsigned int encodeEPSMobileIdent(const GSML3Codec* codec, uint8_t proto
|
|||
return CONDITIONAL_ERROR(param,IncorrectOptionalIE,IncorrectMandatoryIE);
|
||||
// MMEGroupID
|
||||
XmlElement* child = xml->findFirstChild(&YSTRING("MMEGroupID"));
|
||||
unsigned int val = -1;
|
||||
unsigned int val = (unsigned int)-1;
|
||||
if (!(child && ((val = child->getText().toInteger(val)) <= 0xffff)))
|
||||
return CONDITIONAL_ERROR(param,IncorrectOptionalIE,IncorrectMandatoryIE);
|
||||
setUINT16(val,buf,len,true);
|
||||
|
@ -4943,4 +4943,6 @@ void GSML3Codec::printDbg(int dbgLevel, const uint8_t* in, unsigned int len, Xml
|
|||
"---------------\r\n%s='%s'\r\n---------------",
|
||||
(encode ? "Encoded" : "Decoded"),(encode ? "xml" : "payload"),(encode ? tmp.c_str() : s.c_str()),
|
||||
(encode ? "payload" : "xml"), (encode ? s.c_str() : tmp.c_str()));
|
||||
}
|
||||
}
|
||||
|
||||
/* vi: set ts=8 sw=4 sts=4 noet: */
|
||||
|
|
Loading…
Reference in New Issue