diff --git a/sc2/src/sc2code/commglue.c b/sc2/src/sc2code/commglue.c index b6ee9d8b8..5000c4c84 100644 --- a/sc2/src/sc2code/commglue.c +++ b/sc2/src/sc2code/commglue.c @@ -232,7 +232,7 @@ GetAllianceName (UNICODE *buf, RESPONSE_REF name_1) } void -construct_response (UNICODE *buf, RESPONSE_REF R, ...) +construct_response (UNICODE *buf, int R /* promoted from RESPONSE_REF */, ...) { UNICODE *name; va_list vlist; diff --git a/sc2/src/sc2code/commglue.h b/sc2/src/sc2code/commglue.h index 429951ac2..1f42ea048 100644 --- a/sc2/src/sc2code/commglue.h +++ b/sc2/src/sc2code/commglue.h @@ -60,7 +60,8 @@ extern void NPCPhrase_cb (int index, void (*cb) (void)); extern void GetAllianceName (UNICODE *buf, RESPONSE_REF name_1); -extern void construct_response (UNICODE *buf, RESPONSE_REF R, ...); +extern void construct_response (UNICODE *buf, int R /* promoted from + RESPONSE_REF */, ...); extern LOCDATAPTR init_race (RESOURCE comm_id);