mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 21:32:19 +00:00
Removed extra 'const' qualifier in array-to-pointer and function-to-pointer conversions.
This commit is contained in:
parent
f3199e4308
commit
f734f43a35
@ -539,7 +539,7 @@ const Type* AddressOf (const Type* T)
|
||||
Type* P = TypeAlloc (Size + 1);
|
||||
|
||||
/* Create the return type... */
|
||||
P[0].C = T_PTR | (T[0].C & T_QUAL_ADDRSIZE) | T_QUAL_CONST;
|
||||
P[0].C = T_PTR | (T[0].C & T_QUAL_ADDRSIZE);
|
||||
memcpy (P+1, T, Size * sizeof (Type));
|
||||
|
||||
/* ...and return it */
|
||||
|
Loading…
Reference in New Issue
Block a user