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

Merge pull request #1980 from TommiRommi/patch-1

fixed spelling mistake
This commit is contained in:
Bob Andrews 2023-01-28 11:29:50 +01:00 committed by GitHub
commit 6267db6b01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -238,10 +238,10 @@ void TypeConversion (ExprDesc* Expr, const Type* NewType)
** void pointers, just with warnings.
*/
if (Result.C == TC_PTR_SIGN_DIFF) {
/* Specific warning for pointee signedness difference */
/* Specific warning for pointer signedness difference */
if (IS_Get (&WarnPointerSign)) {
TypeCompatibilityDiagnostic (NewType, Expr->Type,
0, "Pointer conversion to '%s' from '%s' changes pointee signedness");
0, "Pointer conversion to '%s' from '%s' changes pointer signedness");
}
} else if ((Result.C <= TC_PTR_INCOMPATIBLE ||
(Result.F & TCF_INCOMPATIBLE_QUAL) != 0)) {