mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-10 21:25:00 +00:00
Squash warnings on Solaris/sparc... the test suite is not working for me so I
can't be sure if these are OK, but they look OK. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2928a169bb
commit
a7750fc61f
@ -33,7 +33,7 @@ _stacker_dump_stack_()
|
|||||||
printf("Stack Dump:\n");
|
printf("Stack Dump:\n");
|
||||||
for (i = _index_; i > 0; i-- )
|
for (i = _index_; i > 0; i-- )
|
||||||
{
|
{
|
||||||
printf("#%03lld: %lld\n", i, _stack_[i] );
|
printf("#%03lld: %lld\n", (long long int) i, (long long int) _stack_[i] );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ main ( int argc, char** argv )
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_stack_[_index_++] = (int) argv[a];
|
_stack_[_index_++] = (int64_t) (intptr_t) argv[a];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user