diff options
author | mjacob <mjacob@FreeBSD.org> | 2007-06-23 00:02:20 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2007-06-23 00:02:20 +0000 |
commit | 384923a3f787500d4c5fef404dd0be749931504b (patch) | |
tree | 526d2a82ed12efba9eeb51b5b91e919e46eb2784 /sys/dev/sym | |
parent | 4775f3106a3a06f54abfe49e31a05c2a78639c68 (diff) | |
download | FreeBSD-src-384923a3f787500d4c5fef404dd0be749931504b.zip FreeBSD-src-384923a3f787500d4c5fef404dd0be749931504b.tar.gz |
Fix various compilation warnings for gcc-4.2.
Approved by: re (bruce)
Diffstat (limited to 'sys/dev/sym')
-rw-r--r-- | sys/dev/sym/sym_hipd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sym/sym_hipd.c b/sys/dev/sym/sym_hipd.c index f33ba59..f3bdc92 100644 --- a/sys/dev/sym/sym_hipd.c +++ b/sys/dev/sym/sym_hipd.c @@ -202,7 +202,7 @@ static __inline void sym_que_splice(struct sym_quehead *list, } #define sym_que_entry(ptr, type, member) \ - ((type *)((char *)(ptr)-(unsigned int)(&((type *)0)->member))) + ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) #define sym_insque(new, pos) __sym_que_add(new, pos, (pos)->flink) |