Fixed point code assign.
git-svn-id: http://voip.null.ro/svn/yate@1761 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
82344277f1
commit
53f6a73aef
|
@ -179,7 +179,7 @@ bool SS7PointCode::assign(Type type, const unsigned char* src, int len, unsigned
|
|||
c &= (0xff >> (8 - sshift));
|
||||
}
|
||||
}
|
||||
tmp |= ((unsigned int)c << (llen - i));
|
||||
tmp |= ((unsigned int)c << ((llen - i) * 8));
|
||||
}
|
||||
if (unpack(type,tmp)) {
|
||||
if (spare)
|
||||
|
|
Loading…
Reference in New Issue