Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint1 Change type of anonymous bitfield pads s...
details: https://anonhg.NetBSD.org/src/rev/94968a3e139c
branches: trunk
changeset: 510103:94968a3e139c
user: sommerfeld <sommerfeld%NetBSD.org@localhost>
date: Sat May 19 17:19:00 2001 +0000
description:
Change type of anonymous bitfield pads so that lint -p no longer generates a
portability warning.
diffstat:
usr.bin/xlint/lint1/decl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e06bdffa6c08 -r 94968a3e139c usr.bin/xlint/lint1/decl.c
--- a/usr.bin/xlint/lint1/decl.c Sat May 19 14:31:00 2001 +0000
+++ b/usr.bin/xlint/lint1/decl.c Sat May 19 17:19:00 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: decl.c,v 1.19 2001/02/24 00:43:50 cgd Exp $ */
+/* $NetBSD: decl.c,v 1.20 2001/05/19 17:19:00 sommerfeld Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: decl.c,v 1.19 2001/02/24 00:43:50 cgd Exp $");
+__RCSID("$NetBSD: decl.c,v 1.20 2001/05/19 17:19:00 sommerfeld Exp $");
#endif
#include <sys/param.h>
@@ -1197,7 +1197,7 @@
dsym->s_name = unnamed;
dsym->s_kind = FMOS;
dsym->s_scl = MOS;
- dsym->s_type = gettyp(INT);
+ dsym->s_type = gettyp(UINT);
dsym->s_blklev = -1;
}
dsym->s_type = duptyp(dsym->s_type);
Home |
Main Index |
Thread Index |
Old Index