The last fixed argument to varargs function and the variable arguments are not
allowed to have widable types according to the C standard. It worked nevertheless on most platforms, but QNX choked on it. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@982 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user