aboutsummaryrefslogtreecommitdiff
path: root/src/cubeit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cubeit.c')
-rw-r--r--src/cubeit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cubeit.c b/src/cubeit.c
index 33442ac3..51f4a57c 100644
--- a/src/cubeit.c
+++ b/src/cubeit.c
@@ -361,8 +361,8 @@ static void write_slice(const char *filename, double *vals, int z,
for ( y=0; y<h; y++ ) {
for ( x=0; x<w; x++ ) {
- float r, g, b;
- float val;
+ double r, g, b;
+ double val;
val = vals[xs*ys*z + xs*y + x];