~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/stacktrace.cc

  • Committer: Monty
  • Date: 2008-12-01 02:21:40 UTC
  • mto: This revision was merged to the branch mainline in revision 634.
  • Revision ID: mordred@palanthas.inaugust.com-20081201022140-oavg05w06p3itpo8
Cast size_t up to uint64_t to print. Man I really want to fix all of this...

Show diffs side-by-side

added added

removed removed

Lines of Context:
156
156
      fp < (unsigned char**) stack_bottom - thread_stack)
157
157
  {
158
158
    fprintf(stderr, "Bogus stack limit or frame pointer,\
159
 
 fp=%p, stack_bottom=%p, thread_stack=%ld, aborting backtrace.\n",
160
 
            (void *)fp, (void *)stack_bottom, thread_stack);
 
159
 fp=%p, stack_bottom=%p, thread_stack=%"PRIu64", aborting backtrace.\n",
 
160
            (void *)fp, (void *)stack_bottom, (uint64_t)thread_stack);
161
161
    return;
162
162
  }
163
163