fix typo causing compiler error on bigendian computers
This commit is contained in:
parent
2f60e0ae31
commit
65fc0eaad5
|
@ -1,5 +1,9 @@
|
||||||
D2X-Rebirth Changelog
|
D2X-Rebirth Changelog
|
||||||
|
|
||||||
|
20080113
|
||||||
|
--------
|
||||||
|
main/network.c: fix typo causing compiler error on bigendian computers
|
||||||
|
|
||||||
20080108
|
20080108
|
||||||
--------
|
--------
|
||||||
SConstruct, include/args.h, include/netdrv.h, main/gameseq.c, main/netdrv.c, main/netpkt.c, main/netpkt.h, main/network.c, main/network.h, main/udp.c, misc/args.c: Fixing MAC compiling issues (hopefully); Re-Added IPX Socket option to Host menu for IPX games; Renamed netmisc.* to netpkt.*; Handling host disconnect for UDP games in network.c
|
SConstruct, include/args.h, include/netdrv.h, main/gameseq.c, main/netdrv.c, main/netpkt.c, main/netpkt.h, main/network.c, main/network.h, main/udp.c, misc/args.c: Fixing MAC compiling issues (hopefully); Re-Added IPX Socket option to Host menu for IPX games; Renamed netmisc.* to netpkt.*; Handling host disconnect for UDP games in network.c
|
||||||
|
|
|
@ -1815,7 +1815,7 @@ void network_process_packet(ubyte *data, int length )
|
||||||
#ifdef WORDS_BIGENDIAN
|
#ifdef WORDS_BIGENDIAN
|
||||||
sequence_packet tmp_packet;
|
sequence_packet tmp_packet;
|
||||||
|
|
||||||
memset(&tep_packet, 0, sizeof(sequence_packet));
|
memset(&tmp_packet, 0, sizeof(sequence_packet));
|
||||||
|
|
||||||
receive_sequence_packet(data, &tmp_packet);
|
receive_sequence_packet(data, &tmp_packet);
|
||||||
their = &tmp_packet; // reassign their to point to correctly alinged structure
|
their = &tmp_packet; // reassign their to point to correctly alinged structure
|
||||||
|
|
Loading…
Reference in a new issue