aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-04-26 17:15:11 +0200
committerThomas White <taw@physics.org>2010-04-26 17:15:11 +0200
commitf178cdfec0bbdaf3b6d9ed09daacff87984561ee (patch)
treecb654f3d5412098bcdf29dc96e7eb7f0ab17e81e
parent6ef14ec73ab891100e309309d47264dee7d77784 (diff)
hdfsee: Fix silly type error which was causing rendering difficulties
-rw-r--r--src/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render.c b/src/render.c
index 206ef9b3..7c66f67c 100644
--- a/src/render.c
+++ b/src/render.c
@@ -245,7 +245,7 @@ GdkPixbuf *render_get_image(DisplayWindow *dw)
for ( y=0; y<h; y++ ) {
for ( x=0; x<w; x++ ) {
- int val;
+ float val;
guchar r, g, b;
val = hdr[x+w*y];