fix typo causing compiler error on bigendian computers

This commit is contained in:
kreatordxx 2008-01-13 00:36:04 +00:00
parent 2f60e0ae31
commit 65fc0eaad5
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,9 @@
D2X-Rebirth Changelog
20080113
--------
main/network.c: fix typo causing compiler error on bigendian computers
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

View file

@ -1815,7 +1815,7 @@ void network_process_packet(ubyte *data, int length )
#ifdef WORDS_BIGENDIAN
sequence_packet tmp_packet;
memset(&tep_packet, 0, sizeof(sequence_packet));
memset(&tmp_packet, 0, sizeof(sequence_packet));
receive_sequence_packet(data, &tmp_packet);
their = &tmp_packet; // reassign their to point to correctly alinged structure