summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-05-11 07:45:28 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-05-11 07:45:28 +0000
commita7750fc61f45bf0ba428767db8ff70ebce9f09d0 (patch)
treeb981108aaed6866e657e207556075c8caa037a80
parent2928a169bb7e0ac816b6ce2f40bc1f683633b5be (diff)
downloadllvm-a7750fc61f45bf0ba428767db8ff70ebce9f09d0.tar.gz
llvm-a7750fc61f45bf0ba428767db8ff70ebce9f09d0.tar.bz2
llvm-a7750fc61f45bf0ba428767db8ff70ebce9f09d0.tar.xz
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
-rw-r--r--projects/Stacker/lib/runtime/stacker_rt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/Stacker/lib/runtime/stacker_rt.c b/projects/Stacker/lib/runtime/stacker_rt.c
index 4928bffc73..6336b18b4d 100644
--- a/projects/Stacker/lib/runtime/stacker_rt.c
+++ b/projects/Stacker/lib/runtime/stacker_rt.c
@@ -33,7 +33,7 @@ _stacker_dump_stack_()
printf("Stack Dump:\n");
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
{
- _stack_[_index_++] = (int) argv[a];
+ _stack_[_index_++] = (int64_t) (intptr_t) argv[a];
}
}