File:
[cvs.NetBSD.org] /
pkgsrc /
devel /
xdelta /
patches /
Attic /
patch-ab
Revision
1.1:
download - view:
text,
annotated -
select for diffs
Wed Nov 7 12:28:59 2007 UTC (17 years, 1 month ago) by
rillig
Branches:
MAIN
CVS tags:
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
cwrapper,
cube-native-xorg-base,
cube-native-xorg,
HEAD
Fixed gcc4 error messages.
$NetBSD: patch-ab,v 1.1 2007/11/07 12:28:59 rillig Exp $
default.c:297: error: invalid lvalue in assignment
--- libedsio/default.c.orig 1999-04-01 12:15:30.000000000 +0200
+++ libedsio/default.c 2007-11-07 13:25:06.000000000 +0100
@@ -294,7 +294,7 @@ serializeio_source_alloc (SerialSource*
source->alloc_buf = source->alloc_buf_orig;
- ALIGN_8 ((long)source->alloc_buf);
+ ALIGN_8 (*(long*)&source->alloc_buf);
}
if (len+source->alloc_pos > source->alloc_total)
CVSweb <webmaster@jp.NetBSD.org>