summaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-10-25 21:55:29 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-10-25 21:55:29 +0000
commit75a1785748733af3b8be900e11023bcc467e0e67 (patch)
tree248ebd5d9e223baa17bfd3b5cee4692542ab8ed1 /include/string.h
parentbab1d726ab6cfb2705e230159e33b3fa66e98fef (diff)
NULL is now 0L so it is the same size as a pointer.
OK mickey@ and discussed with deraadt@
Diffstat (limited to 'include/string.h')
-rw-r--r--include/string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/string.h b/include/string.h
index af469e99d1f..3f32aed40db 100644
--- a/include/string.h
+++ b/include/string.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: string.h,v 1.7 2002/02/16 21:27:17 millert Exp $ */
+/* $OpenBSD: string.h,v 1.8 2002/10/25 21:55:28 millert Exp $ */
/* $NetBSD: string.h,v 1.6 1994/10/26 00:56:30 cgd Exp $ */
/*-
@@ -49,7 +49,7 @@ typedef _BSD_SIZE_T_ size_t;
#ifdef __GNUG__
#define NULL __null
#else
-#define NULL 0
+#define NULL 0L
#endif
#endif