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

Update typeconv.c

This commit is contained in:
tomas 2023-01-27 16:53:36 +00:00 committed by GitHub
parent ed909dba1d
commit 1d73c8d259
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 pointer signess difference */
/* Specific warning for pointer signedness difference */
if (IS_Get (&WarnPointerSign)) {
TypeCompatibilityDiagnostic (NewType, Expr->Type,
0, "Pointer conversion to '%s' from '%s' changes pointer signess");
0, "Pointer conversion to '%s' from '%s' changes pointer signedness");
}
} else if ((Result.C <= TC_PTR_INCOMPATIBLE ||
(Result.F & TCF_INCOMPATIBLE_QUAL) != 0)) {