Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include de-lint
details: https://anonhg.NetBSD.org/src/rev/19ecce1cbdbb
branches: trunk
changeset: 494367:19ecce1cbdbb
user: christos <christos%NetBSD.org@localhost>
date: Thu Jul 06 00:51:36 2000 +0000
description:
de-lint
diffstat:
include/stddef.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r dda99d48f8f7 -r 19ecce1cbdbb include/stddef.h
--- a/include/stddef.h Thu Jul 06 00:50:49 2000 +0000
+++ b/include/stddef.h Thu Jul 06 00:51:36 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stddef.h,v 1.7 2000/01/10 16:58:38 kleink Exp $ */
+/* $NetBSD: stddef.h,v 1.8 2000/07/06 00:51:36 christos Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -54,6 +54,6 @@
#include <sys/null.h>
-#define offsetof(type, member) ((size_t)(&((type *)0)->member))
+#define offsetof(type, member) ((size_t)(u_long)(&((type *)0)->member))
#endif /* _STDDEF_H_ */
Home |
Main Index |
Thread Index |
Old Index