MSVC doesn't like to do integer->char conversions.

This commit is contained in:
Enno Rehling 2017-02-06 18:16:34 +01:00
parent baf3275eba
commit d851554ebe
1 changed files with 2 additions and 1 deletions

View File

@ -94,7 +94,8 @@ enum {
RCO_TRADEHERB, RCO_TRADEHERB,
}; };
static void rc_setoption(race *rc, int key, const char *value) { static void rc_setoption(race *rc, int k, const char *value) {
unsigned char key = (unsigned char)k;
int i; int i;
variant *v = NULL; variant *v = NULL;
if (!rc->options) { if (!rc->options) {