Subject: CVS commit: src/sys/arch/sh3/sh3
To: None <source-changes@NetBSD.org>
From: Valeriy E. Ushakov <uwe@netbsd.org>
List: source-changes
Date: 08/03/2003 00:01:45
Module Name: src
Committed By: uwe
Date: Sun Aug 3 00:01:45 UTC 2003
Modified Files:
src/sys/arch/sh3/sh3: sh3_machdep.c
Log Message:
When passing &buffers to uvm_map, add a cast to (void *). Without it,
gcc3 with -O2 produces "dereferencing type-punned pointer will break
strict-aliasing rules" warning.
To generate a diff of this commit:
cvs rdiff -r1.49 -r1.50 src/sys/arch/sh3/sh3/sh3_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.