diff options
author | Davide Beatrici <davidebeatrici@gmail.com> | 2019-08-10 02:46:41 +0300 |
---|---|---|
committer | Davide Beatrici <davidebeatrici@gmail.com> | 2019-10-11 22:13:48 +0300 |
commit | d40fbe8c3b98873501cc39b58f4ffc5c09cfeae4 (patch) | |
tree | 2e3205d0cbf8b4c8b29ee0791a13ebf0e087898c /plugins/lotro | |
parent | cf81dee47d5adeb61b09c49c2096cf3c61772e66 (diff) |
plugins: replace BYTE with uint8_t
Diffstat (limited to 'plugins/lotro')
-rw-r--r-- | plugins/lotro/lotro.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/lotro/lotro.cpp b/plugins/lotro/lotro.cpp index 1077dcc3f..37fb5eb3a 100644 --- a/plugins/lotro/lotro.cpp +++ b/plugins/lotro/lotro.cpp @@ -42,8 +42,8 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa bool ok; - byte l[2]; - byte r,i; + uint8_t l[2]; + uint8_t r,i; float o[3]; procptr_t hPtr; float h; @@ -51,7 +51,7 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa /* Position as represented by /loc command - lx, ly = 8 * (byte)l; + lx, ly = 8 * (uint8_t)l; ox, oy, oz = (float)o; 0 < ox < 160 |