From 78df29ce00aad6f37b905bf1419120b1a21b4062 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Mon, 8 Apr 2019 06:26:17 +0000 Subject: [PATCH] SW: Make the function GetSyncInfoFromPacket in sync.cpp match the declaration in net.cpp. Fixed signed-ness of lumplockbyte to stop unresolved externals. Patch from Striker. git-svn-id: https://svn.eduke32.com/eduke32@7506 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/sw/src/sounds.cpp | 2 +- source/sw/src/sync.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/sw/src/sounds.cpp b/source/sw/src/sounds.cpp index 494337423..d338c1bdc 100644 --- a/source/sw/src/sounds.cpp +++ b/source/sw/src/sounds.cpp @@ -248,7 +248,7 @@ int PlayerYellVocs[] = DIGI_PLAYERYELL3 }; -extern unsigned char lumplockbyte[]; +extern char lumplockbyte[]; #if 0 // DEBUG diff --git a/source/sw/src/sync.cpp b/source/sw/src/sync.cpp index 63b2b7e66..4626edbd9 100644 --- a/source/sw/src/sync.cpp +++ b/source/sw/src/sync.cpp @@ -419,7 +419,7 @@ SyncStatMessage(void) void -GetSyncInfoFromPacket(char *packbuf, int packbufleng, int *j, int otherconnectindex) +GetSyncInfoFromPacket(uint8_t *packbuf, int packbufleng, int *j, int otherconnectindex) { int sb, i; extern int syncvaltail, syncvaltottail;