Fixed point code assign.

git-svn-id: http://voip.null.ro/svn/yate@1761 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2008-03-11 12:37:24 +00:00
parent 82344277f1
commit 53f6a73aef
1 changed files with 1 additions and 1 deletions

View File

@ -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)