/** The data structure computed by the mood parser. */
void *parser_data;
/** The given score value, or zero if none was given. */
- long score_arg;
+ int32_t score_arg;
/** Non-zero if random scoring was requested. */
int random_score;
/** Whether the "not" keyword was given in the mood line. */
goto out;
if (strcmp(*w, "random")) {
mi->random_score = 0;
- ret = para_atol(*w, &mi->score_arg);
+ ret = para_atoi32(*w, &mi->score_arg);
if (ret < 0)
goto out;
} else {