aboutsummaryrefslogtreecommitdiff
path: root/src/Write.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Write.c')
-rw-r--r--src/Write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Write.c b/src/Write.c
index 9900d96..2566377 100644
--- a/src/Write.c
+++ b/src/Write.c
@@ -153,7 +153,7 @@ void IOPanda_getDumpData (const cGH *GH, int vindex, int timelevel,
but that way produces much more efficient code */
l = 0;
switch (CCTK_VarTypeI (vindex)) {
- case CCTK_VARIABLE_CHAR:
+ case CCTK_VARIABLE_BYTE:
char_ptr = (CCTK_BYTE *) *outme;
for (k = start [2]; k <= end [2]; k += ioUtilGH->downsample [2])
for (j = start [1]; j <= end [1]; j += ioUtilGH->downsample [1])