summaryrefslogtreecommitdiff
path: root/emulators/BasiliskII/patches/patch-aa
blob: 79c920ea81f425c99a93bac5a451866d6cb76eae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.4 2005/11/23 12:17:56 adam Exp $

--- src/dummy/ether_dummy.cpp.orig	2005-05-14 10:10:09.000000000 +0200
+++ src/dummy/ether_dummy.cpp
@@ -174,7 +174,7 @@ void EtherInterrupt(void)
 			length = recvfrom(fd, Mac2HostAddr(packet), 1514, 0, (struct sockaddr *)&from, &from_len);
 			if (length < 14)
 				break;
-			ether_udp_read(packet, length, &from);
+			ether_udp_read((uint32)packet, length, &from);
 		}
 	}
 #endif