no changelog available from master distribution. from "diff", 1998 -> 1999 contains minor changes only. add comments into Makefile; (1) sendmail wants 1999 release, not 2000 release, (2) master distribution license (need to sign but redistribution is granted).
15 lines
454 B
Text
15 lines
454 B
Text
$NetBSD: patch-ad,v 1.2 2000/08/13 17:42:24 itojun Exp $
|
|
|
|
Avoid a compiler warning.
|
|
|
|
--- src/lib/sfio/sfvscanf.c.orig Sat May 29 04:19:30 1999
|
|
+++ src/lib/sfio/sfvscanf.c Mon Aug 14 01:56:07 2000
|
|
@@ -642,7 +642,3 @@
|
|
if(fmt == 'p')
|
|
-#if _more_void_int
|
|
- *((Void_t**)value) = (Void_t*)((ulong)argv.lu);
|
|
-#else
|
|
- *((Void_t**)value) = (Void_t*)((uint)argv.lu);
|
|
-#endif
|
|
+ (void) memcpy(value, &argv.lu, sizeof(value));
|
|
#if !_ast_intmax_long
|