Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/usr.bin/xlint/lint1 tests/lint: fix test for queries o...
details: https://anonhg.NetBSD.org/src/rev/ee1e4111dbd9
branches: trunk
changeset: 370697:ee1e4111dbd9
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Sep 24 19:55:44 2022 +0000
description:
tests/lint: fix test for queries on platforms where char is unsigned
error: queries.c(118): missing /* expect+1: implicit conversion
changes sign from 'char' to 'int' [Q3] */
error: queries.c(122): missing /* expect+1: implicit conversion
changes sign from 'char' to 'int' [Q3] */
diffstat:
tests/usr.bin/xlint/lint1/queries.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r e1dd868abad6 -r ee1e4111dbd9 tests/usr.bin/xlint/lint1/queries.c
--- a/tests/usr.bin/xlint/lint1/queries.c Sat Sep 24 18:12:49 2022 +0000
+++ b/tests/usr.bin/xlint/lint1/queries.c Sat Sep 24 19:55:44 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: queries.c,v 1.5 2022/09/10 13:13:22 rillig Exp $ */
+/* $NetBSD: queries.c,v 1.6 2022/09/24 19:55:44 rillig Exp $ */
# 3 "queries.c"
/*
@@ -106,7 +106,7 @@
}
void
-Q5(char *ptr, int i)
+Q5(signed char *ptr, int i)
{
if (ptr + i > ptr)
return;
Home |
Main Index |
Thread Index |
Old Index