simh/build-fix.patch
Davide Cavalca c31ac52fb0 Refresh the patch to fix the line endings
This patch uses DOS line endings (as that's what the sources use too),
but git "helpfully" converted them to UNIX ones by default, thus
breaking it. Trying again after doing:

  git config --local core.autocrlf false

and refreshing it.
2025-02-25 22:30:50 -08:00

12 lines
486 B
Diff

diff -wbBur sim/PDP11/pdp11_ch.c sim.q/PDP11/pdp11_ch.c
--- sim/PDP11/pdp11_ch.c 2024-05-05 11:03:00.000000000 +0300
+++ sim.q/PDP11/pdp11_ch.c 2024-11-17 00:33:07.981278910 +0300
@@ -271,7 +271,7 @@
CONST uint8 *p;
tmxr_poll_rx (&ch_tmxr);
- if (tmxr_get_packet_ln (&ch_lines[0], &p, &count) != SCPE_OK) {
+ if (tmxr_get_packet_ln (&ch_lines[0], (void*)&p, &count) != SCPE_OK) {
sim_debug (DBG_ERR, &ch_dev, "TMXR error receiving packet\n");
return 0;
}