diff --git a/stepmania/src/NetworkSyncServer.cpp b/stepmania/src/NetworkSyncServer.cpp index ead3848ff5..8668779148 100644 --- a/stepmania/src/NetworkSyncServer.cpp +++ b/stepmania/src/NetworkSyncServer.cpp @@ -506,9 +506,9 @@ void StepManiaLanServer::NewClientCheck() } -void StepManiaLanServer::SendValue(Uint8 value, int clientNum) +void StepManiaLanServer::SendValue(uint8_t value, int clientNum) { - Client[clientNum].clientSocket.SendPack((char*)&value, sizeof(Uint8)); + Client[clientNum].clientSocket.SendPack((char*)&value, sizeof(uint8_t)); } void StepManiaLanServer::RelayChat(PacketFunctions& Packet, int clientNum) diff --git a/stepmania/src/NetworkSyncServer.h b/stepmania/src/NetworkSyncServer.h index 61a9364053..9bce88643f 100644 --- a/stepmania/src/NetworkSyncServer.h +++ b/stepmania/src/NetworkSyncServer.h @@ -4,8 +4,6 @@ #include "ezsockets.h" #include "NetworkSyncManager.h" -typedef unsigned char Uint8; - #define NETMAXBUFFERSIZE 1020 #define NUMBERCLIENTS 16 @@ -99,7 +97,7 @@ private: int FindEmptyClient(); void NewClientCheck(); void ParseData(PacketFunctions& Packet, int clientNum); - void SendValue(Uint8 value, int clientNum); + void SendValue(uint8_t value, int clientNum); void CheckReady(); void MoveClientToHost(); void StatsComboColumn(PacketFunctions &data, LanPlayer *playersPtr[],