From ea5fea48023575dfd59b81c37e56ff4ef48e8378 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Mon, 25 May 2009 14:59:36 -0600 Subject: [PATCH] fix printf format for 64-bit build --- src/compile.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/compile.cpp b/src/compile.cpp index ff0a83fd7c..9b5e6da60c 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -5812,11 +5812,11 @@ class MyProcessor: public Processor { t->init(); if (false) { - fprintf(stderr, "%d\n", difference(&(t->continuation), t)); - fprintf(stderr, "%d\n", difference(&(t->exception), t)); - fprintf(stderr, "%d\n", difference(&(t->exceptionStackAdjustment), t)); - fprintf(stderr, "%d\n", difference(&(t->exceptionOffset), t)); - fprintf(stderr, "%d\n", difference(&(t->exceptionHandler), t)); + fprintf(stderr, "%"LD"\n", difference(&(t->continuation), t)); + fprintf(stderr, "%"LD"\n", difference(&(t->exception), t)); + fprintf(stderr, "%"LD"\n", difference(&(t->exceptionStackAdjustment), t)); + fprintf(stderr, "%"LD"\n", difference(&(t->exceptionOffset), t)); + fprintf(stderr, "%"LD"\n", difference(&(t->exceptionHandler), t)); exit(0); }