aboutsummaryrefslogtreecommitdiffstats
path: root/src/blackbody.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blackbody.c')
-rw-r--r--src/blackbody.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blackbody.c b/src/blackbody.c
index 1e06fb9..2fb5df4 100644
--- a/src/blackbody.c
+++ b/src/blackbody.c
@@ -114,7 +114,7 @@ interpolate(double x1, double y1, double x2, double y2, double temp, double *r,
* @throws EDOM The selected temperature is below 1000 K.
*/
int
-get_colour(int fd, int temp, double *r, double *g, double *b)
+get_colour(int fd, long int temp, double *r, double *g, double *b)
{
double values[10]; /* low:x,y,r,g,b + high:x,y,r,g,b */
off_t offset;