mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
Fix compiler warnings.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2317
This commit is contained in:
parent
2e2e7d2e86
commit
328e766d09
@ -23,8 +23,8 @@ int main(int argc, char **argv)
|
||||
: "ax"
|
||||
);
|
||||
|
||||
printf("sp change after push = %d\n", sp2 - sp1);
|
||||
printf("sp change after pop = %d\n", sp3 - sp2);
|
||||
printf("sp change after push = %ld\n", sp2 - sp1);
|
||||
printf("sp change after pop = %ld\n", sp3 - sp2);
|
||||
printf("fs after push and pop = %04x\n", fs1);
|
||||
|
||||
asm("movw %4, %%fs\n"
|
||||
@ -39,8 +39,8 @@ int main(int argc, char **argv)
|
||||
: "ax"
|
||||
);
|
||||
|
||||
printf("sp change after push = %d\n", sp2 - sp1);
|
||||
printf("sp change after pop = %d\n", sp3 - sp2);
|
||||
printf("sp change after push = %ld\n", sp2 - sp1);
|
||||
printf("sp change after pop = %ld\n", sp3 - sp2);
|
||||
printf("fs after push and pop = %04x\n", fs1);
|
||||
|
||||
exit(0);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user