修复 MakeInt64 Hight32问题
This commit is contained in:
parent
c6017a4fe2
commit
f525f6ed71
@ -175,7 +175,7 @@ namespace a8
|
||||
|
||||
long long MakeInt64(int low32, int high32)
|
||||
{
|
||||
return low32 + ((long long)high32 >> 32);
|
||||
return low32 + ((long long)high32 << 32);
|
||||
}
|
||||
|
||||
int Low32(long long int64_val)
|
||||
@ -185,7 +185,7 @@ namespace a8
|
||||
|
||||
int High32(long long int64_val)
|
||||
{
|
||||
return (int)(int64_val << 32);
|
||||
return (int)(int64_val >> 32);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user