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:
parent
c3610aa971
commit
19f3229f45
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user