fixed spelling mistake

there was a spelling mistake in one of pointer warnings
This commit is contained in:
tomas
2023-01-27 10:52:20 +00:00
committed by GitHub
parent 60f56c43c7
commit ed909dba1d

View File

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