Removed some silly warnings
git-svn-id: svn://10.0.0.236/trunk@51220 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
4f6f8b68b0
commit
7903586ee4
@ -140,7 +140,10 @@ int main()
|
||||
printf("\t1 + 1 = %d\n", out);
|
||||
else
|
||||
printf("\tFAILED");
|
||||
if(NS_SUCCEEDED(test->AddTwoLLs(LL_INIT(0,1),LL_INIT(0,1),&out64)))
|
||||
PRInt64 one, two;
|
||||
LL_I2L(one, 1);
|
||||
LL_I2L(two, 2);
|
||||
if(NS_SUCCEEDED(test->AddTwoLLs(one,one,&out64)))
|
||||
{
|
||||
LL_L2I(tmp32, out64);
|
||||
printf("\t1L + 1L = %d\n", (int)tmp32);
|
||||
@ -151,7 +154,7 @@ int main()
|
||||
printf("\t2 * 2 = %d\n", out);
|
||||
else
|
||||
printf("\tFAILED");
|
||||
if(NS_SUCCEEDED(test->MultTwoLLs(LL_INIT(0,2),LL_INIT(0,2),&out64)))
|
||||
if(NS_SUCCEEDED(test->MultTwoLLs(two,two,&out64)))
|
||||
{
|
||||
LL_L2I(tmp32, out64);
|
||||
printf("\t2L * 2L = %d\n", (int)tmp32);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user