Module Name: src Committed By: jakllsch Date: Sun Aug 7 20:14:42 UTC 2011
Modified Files: src/sys/dev/ic: isacsx.h Log Message: Another instance of REG_OFFSET that needs to be consistent with the rest. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/ic/isacsx.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ic/isacsx.h diff -u src/sys/dev/ic/isacsx.h:1.4 src/sys/dev/ic/isacsx.h:1.5 --- src/sys/dev/ic/isacsx.h:1.4 Mon Sep 8 23:36:54 2008 +++ src/sys/dev/ic/isacsx.h Sun Aug 7 20:14:42 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: isacsx.h,v 1.4 2008/09/08 23:36:54 gmcgarry Exp $ */ +/* $NetBSD: isacsx.h,v 1.5 2011/08/07 20:14:42 jakllsch Exp $ */ /* * Copyright (c) 2001 Gary Jennejohn. All rights reserved. * @@ -241,7 +241,7 @@ } isacsx_rw; } __packed isacsx_reg_t; -#define REG_OFFSET(type, field) (int)(&(((type *)0)->field)) +#define REG_OFFSET(type, field) (uintptr_t)(&(((type *)0)->field)) /* ISACSX read registers */