summaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
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 3a1494d16d7..f3ae14e15c2 100644
--- a/include/string.h
+++ b/include/string.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: string.h,v 1.20 2010/09/24 13:33:00 matthew Exp $ */
+/* $OpenBSD: string.h,v 1.21 2011/04/06 11:39:42 miod Exp $ */
/* $NetBSD: string.h,v 1.6 1994/10/26 00:56:30 cgd Exp $ */
/*-
@@ -47,7 +47,7 @@ typedef __size_t size_t;
#ifdef __GNUG__
#define NULL __null
#else
-#define NULL 0L
+#define NULL ((void *)0)
#endif
#endif