aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib
diff options
context:
space:
mode:
authorschnetter <>2004-04-13 09:01:00 +0000
committerschnetter <>2004-04-13 09:01:00 +0000
commit2e58474fc9fa5128315453abd08b87ac7f35b670 (patch)
tree474fdaaa4827dfe45a2708f658f77bb8074664d5 /Carpet/CarpetLib
parenta6fe9599f7773de379c8093720410ce7da0c6424 (diff)
Don't use the new C99 printf specifiers.
darcs-hash:20040413090144-07bb3-585c2620dc244665c9e7a2fb686a87d089948f4e.gz
Diffstat (limited to 'Carpet/CarpetLib')
-rw-r--r--Carpet/CarpetLib/src/data.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/Carpet/CarpetLib/src/data.cc b/Carpet/CarpetLib/src/data.cc
index 9dc5e42f7..ce4efe3be 100644
--- a/Carpet/CarpetLib/src/data.cc
+++ b/Carpet/CarpetLib/src/data.cc
@@ -1,4 +1,4 @@
-// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/data.cc,v 1.50 2004/04/08 11:16:35 schnetter Exp $
+// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/data.cc,v 1.51 2004/04/13 11:01:44 schnetter Exp $
#include <assert.h>
#include <limits.h>
@@ -94,10 +94,10 @@ void data<T,D>::getmem (const size_t nelems)
} catch (...) {
T Tdummy;
CCTK_VWarn (0, __LINE__, __FILE__, CCTK_THORNSTRING,
- "Failed to allocate %z bytes (%.3f MB) of memory for type %s. %z bytes (%.3f MB) are currently allocated.",
- nbytes, nbytes/1.0e6,
+ "Failed to allocate %f bytes (%.3f MB) of memory for type %s. %f bytes (%.3f MB) are currently allocated.",
+ (double)nbytes, nbytes/1.0e6,
typestring(Tdummy),
- allocated_bytes, allocated_bytes/1.0e6);
+ (double)allocated_bytes, allocated_bytes/1.0e6);
}
allocated_bytes += nbytes;
}