1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00

Made 'wrapped call' code build with VS 2015.

This commit is contained in:
Oliver Schmidt 2018-03-05 20:44:32 +01:00
parent c3610aa971
commit 19f3229f45
2 changed files with 2 additions and 2 deletions

View File

@ -525,7 +525,7 @@ static void WrappedCallPragma (StrBuf* B)
/* Check if the name is valid */
if (Entry && Entry->Flags & SC_FUNC) {
PushWrappedCall(Entry, Val);
PushWrappedCall(Entry, (unsigned char) Val);
Entry->Flags |= SC_REF;
Entry->V.F.Func->Flags |= FD_CALL_WRAPPER;

View File

@ -97,6 +97,6 @@ void GetWrappedCall (void **Ptr, unsigned char *Val)
} else {
long Temp;
IPS_Get (&WrappedCalls, &Temp, Ptr);
*Val = Temp;
*Val = (unsigned char) Temp;
}
}