summaryrefslogtreecommitdiffstats
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.c b/parse.c
index 6dc8f5f..ecf1387 100644
--- a/parse.c
+++ b/parse.c
@@ -2672,12 +2672,12 @@ static struct bfs_expr *parse_type(struct parser_state *state, int x, int arg2)
}
unsigned int types = 0;
- double probability = 0.0;
+ float probability = 0.0;
const char *c = expr->argv[1];
while (true) {
enum bfs_type type;
- double type_prob;
+ float type_prob;
switch (*c) {
case 'b':