Fixed build on 32 bit systems.

git-svn-id: http://yate.null.ro/svn/yate/trunk@5851 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2014-06-23 10:39:35 +00:00
parent c33cb114e5
commit 46df18335d
1 changed files with 1 additions and 1 deletions

View File

@ -1615,7 +1615,7 @@ static unsigned int encodeMobileTDHyper(const GSML3Codec* codec, uint8_t proto,
if (TelEngine::null(valStr))
return CONDITIONAL_ERROR(param,NoError,MissingMandatoryIE);
int64_t val = valStr->toInt64(-1);
if (val < 0 || val > 0x1ffffffff)
if (val < 0 || val > 0x1ffffffffLL)
return CONDITIONAL_ERROR(param,IncorrectOptionalIE,IncorrectMandatoryIE);
uint8_t buf[5];
buf[0] = (uint8_t)(val >> 25);