diff --git a/BasiliskII/src/Unix/ether_unix.cpp b/BasiliskII/src/Unix/ether_unix.cpp index b0709e53..d1bba9b8 100644 --- a/BasiliskII/src/Unix/ether_unix.cpp +++ b/BasiliskII/src/Unix/ether_unix.cpp @@ -466,7 +466,8 @@ void EtherInterrupt(void) D(bug("EtherIRQ\n")); // Call protocol handler for received packets - uint8 packet[1516]; + // NOTE: "static" so that packet[] has a 32-bit address (.data section, not stack) + static uint8 packet[1516]; ssize_t length; for (;;) {