summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-01-16 09:34:57 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-01-16 09:34:57 +0000
commitdbd8327b89ac300ea1d368b41cd5c393b46cb473 (patch)
treec8f1ad48e48f379dedfe7ef4f22eec22b9b8bf38 /src/util
parentc1b20f6e0f73bf0e8f7f3f4a97572609d7c7b475 (diff)
Print long int value with %ld instead of converting it to int
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3507 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/util')
-rw-r--r--src/util/CactusTimers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/CactusTimers.c b/src/util/CactusTimers.c
index d3ee2e16..90c57a80 100644
--- a/src/util/CactusTimers.c
+++ b/src/util/CactusTimers.c
@@ -1264,8 +1264,8 @@ int CCTK_TimerPrintDataI (int this_timer, int this_clock)
break;
case val_long:
- printf ("\t%s: %d %s\n", info->vals[i].heading,
- (int) info->vals[i].val.l, info->vals[i].units);
+ printf ("\t%s: %ld %s\n", info->vals[i].heading,
+ info->vals[i].val.l, info->vals[i].units);
break;
case val_double: