From e1841e31c606f1d97ea54c3f00f3380db814f3d2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 14 Jul 2014 22:44:37 +0300 Subject: Rename readInt8 into readUInt8 because it really read uint8_t. --- src/net/character.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/character.h') diff --git a/src/net/character.h b/src/net/character.h index 1b5113627..bab115b7f 100644 --- a/src/net/character.h +++ b/src/net/character.h @@ -42,7 +42,7 @@ namespace Net struct Character final { Character() : - slot(0), + slot(0U), dummy(nullptr), data() { @@ -55,7 +55,7 @@ struct Character final delete2(dummy); } - int slot; /**< The index in the list of characters */ + uint8_t slot; /**< The index in the list of characters */ LocalPlayer *dummy; /**< A dummy representing this character */ PlayerInfoBackend data; }; -- cgit v1.2.3-60-g2f50