1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00

Fixed error message of CheckedPSizeOf().

This commit is contained in:
acqn 2020-08-03 08:09:50 +08:00 committed by Oliver Schmidt
parent e3d913b81a
commit bae431eab0

View File

@ -919,7 +919,7 @@ unsigned CheckedPSizeOf (const Type* T)
{
unsigned Size = PSizeOf (T);
if (Size == 0) {
Error ("Size of type '%s' is unknown", GetFullTypeName (T));
Error ("Size of type '%s' is unknown", GetFullTypeName (T + 1));
Size = SIZEOF_CHAR; /* Don't return zero */
}
return Size;