blob: 8338262011ca5c68fd1a91ad571a00c60b492264 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-bf,v 1.5 2005/03/25 17:40:25 wennmach Exp $
Fix LP64 issue.
--- rx/rx.c.orig 2005-03-22 15:23:15.000000000 +0100
+++ rx/rx.c 2005-03-22 15:42:55.000000000 +0100
@@ -3647,7 +3647,7 @@
peer->refCount++; /* So it won't disappear underneath
* us! */
/* this is stupid - sending an int as a pointer is begging for trouble */
- rxevent_Post(&tmp, rxi_DecongestionEvent, (void *) peer, (void *)nPackets);
+ rxevent_Post(&tmp, rxi_DecongestionEvent, (void *) peer, (void *)(long)nPackets);
}
/*
|