From 7d3b5c1fd8a78936beaee22f87d675ebdf0239d2 Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Mon, 27 Jun 2016 01:14:44 -0700 Subject: Use score_t instead of double --- src/choices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/choices.c') diff --git a/src/choices.c b/src/choices.c index c935067..14712fd 100644 --- a/src/choices.c +++ b/src/choices.c @@ -216,7 +216,7 @@ const char *choices_get(choices_t *c, size_t n) { } } -double choices_getscore(choices_t *c, size_t n) { +score_t choices_getscore(choices_t *c, size_t n) { return c->results[n].score; } -- cgit v1.2.3