diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2016-01-02 20:55:21 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2016-01-02 20:55:57 +0100 |
commit | eec0c8194db183ce24b8307226b53c00bde97a4a (patch) | |
tree | 361de5b8fc2e10e66a2e45792b2e3d358da751fa /src/blackbody.c | |
parent | known issues (diff) | |
download | radharc-eec0c8194db183ce24b8307226b53c00bde97a4a.tar.gz radharc-eec0c8194db183ce24b8307226b53c00bde97a4a.tar.bz2 radharc-eec0c8194db183ce24b8307226b53c00bde97a4a.tar.xz |
parse command line
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/blackbody.c')
-rw-r--r-- | src/blackbody.c | 2 |
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; |