]> granicus.if.org Git - sudo/commitdiff
fixed fascist C compiler warning
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 19 Jun 1995 17:20:04 +0000 (17:20 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 19 Jun 1995 17:20:04 +0000 (17:20 +0000)
check.c

diff --git a/check.c b/check.c
index 16520bc6b0493e73ee9ea04c1a89f33906509daa..1a19f4628ba26d19fd8a48fdcb8a99394a198d55 100644 (file)
--- a/check.c
+++ b/check.c
@@ -264,7 +264,7 @@ static void update_timestamp()
 
     utp[0] = utp[1] = time(NULL);
 #else
-    struct utimbuf *utp = NULL;
+    struct utimbuf *utp = (utimbuf *) NULL;
 #endif /* HAVE_UTIME && !HAVE_UTIME_NULL */
 
     /* become root */