[llvm-commits] CVS: llvm/projects/Stacker/lib/runtime/stacker_rt.c
Brian Gaeke
gaeke at cs.uiuc.edu
Tue May 11 02:46:01 PDT 2004
Changes in directory llvm/projects/Stacker/lib/runtime:
stacker_rt.c updated: 1.6 -> 1.7
---
Log message:
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.
---
Diffs of the changes: (+2 -2)
Index: llvm/projects/Stacker/lib/runtime/stacker_rt.c
diff -u llvm/projects/Stacker/lib/runtime/stacker_rt.c:1.6 llvm/projects/Stacker/lib/runtime/stacker_rt.c:1.7
--- llvm/projects/Stacker/lib/runtime/stacker_rt.c:1.6 Tue May 11 02:18:02 2004
+++ llvm/projects/Stacker/lib/runtime/stacker_rt.c Tue May 11 02:45:28 2004
@@ -33,7 +33,7 @@
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 @@
}
else
{
- _stack_[_index_++] = (int) argv[a];
+ _stack_[_index_++] = (int64_t) (intptr_t) argv[a];
}
}
More information about the llvm-commits
mailing list