Removed extra 'const' qualifier in array-to-pointer and function-to-pointer conversions.
This commit is contained in:
@@ -539,7 +539,7 @@ const Type* AddressOf (const Type* T)
|
|||||||
Type* P = TypeAlloc (Size + 1);
|
Type* P = TypeAlloc (Size + 1);
|
||||||
|
|
||||||
/* Create the return type... */
|
/* 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));
|
memcpy (P+1, T, Size * sizeof (Type));
|
||||||
|
|
||||||
/* ...and return it */
|
/* ...and return it */
|
||||||
|
|||||||
Reference in New Issue
Block a user