pkgsrc/devel/sfio/patches/patch-ad
itojun 6762647bed update from 1998 release to 1999 release.
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).
2000-08-13 17:42:22 +00:00

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