Fix "left shift count >= width of type" bug

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9730 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper 2004-11-02 00:21:31 +00:00
parent 9ec428f4e3
commit bf4770a920

View File

@ -532,7 +532,7 @@ static ulonglong readSize(MatroskaFile *mf) {
static inline longlong readVLSInt(MatroskaFile *mf) {
static longlong bias[8] = { (1<<6)-1, (1<<13)-1, (1<<20)-1, (1<<27)-1,
(1<<34)-1, (1<<41)-1, (1<<48)-1, (1<<55)-1 };
(1LL<<34)-1, (1LL<<41)-1, (1LL<<48)-1, (1LL<<55)-1 };
int m;
longlong v = readVLUIntImp(mf,&m);