Fix a compile error on i686.

This commit is contained in:
Peter Jones 2011-08-11 11:31:29 -04:00
parent 9da0c0554e
commit c968658fe3
1 changed files with 2 additions and 2 deletions

View File

@ -60,9 +60,9 @@ index 0000000..546df92
+ " jmp *dump_stack_helper@GOTPCREL(%rip)\n"
+ ".size dump_stack, .-dump_stack");
+
+void dump_stack_helper(uint64_t rsp_val)
+void dump_stack_helper(unsigned long rsp_val)
+{
+ uint64_t *rsp = (uint64_t *)rsp_val;
+ uint64_t *rsp = (unsigned long *)rsp_val;
+ int x;
+
+ Print(L"%%rsp: 0x%08x%08x stack:\r\n",