summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authorshfil <filip.gawin@zoho.com>2020-07-22 23:02:11 +0200
committerGitHub <noreply@github.com>2020-07-22 23:02:11 +0200
commit98dd771d6cf3adb7153700040f122cd0916d5eeb (patch)
tree5578c27b5739341d34def86586a68f1f1129e1bb /src/peds
parentREADME 64-bit preparation (diff)
parent64-bit on Windows (diff)
downloadre3-98dd771d6cf3adb7153700040f122cd0916d5eeb.tar
re3-98dd771d6cf3adb7153700040f122cd0916d5eeb.tar.gz
re3-98dd771d6cf3adb7153700040f122cd0916d5eeb.tar.bz2
re3-98dd771d6cf3adb7153700040f122cd0916d5eeb.tar.lz
re3-98dd771d6cf3adb7153700040f122cd0916d5eeb.tar.xz
re3-98dd771d6cf3adb7153700040f122cd0916d5eeb.tar.zst
re3-98dd771d6cf3adb7153700040f122cd0916d5eeb.zip
Diffstat (limited to '')
-rw-r--r--src/peds/Ped.cpp2
-rw-r--r--src/peds/PedStats.cpp2
-rw-r--r--src/peds/PedType.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index e134ac5d..4d83f5aa 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -4839,7 +4839,7 @@ CPed::LoadFightData(void)
CAnimBlendAssociation *animAssoc;
- int bp, buflen;
+ size_t bp, buflen;
int lp, linelen;
buflen = CFileMgr::LoadFile("DATA\\fistfite.dat", work_buff, sizeof(work_buff), "r");
diff --git a/src/peds/PedStats.cpp b/src/peds/PedStats.cpp
index 06e39039..1f7a95b4 100644
--- a/src/peds/PedStats.cpp
+++ b/src/peds/PedStats.cpp
@@ -47,7 +47,7 @@ CPedStats::LoadPedStats(void)
char *buf;
char line[256];
char name[32];
- int bp, buflen;
+ size_t bp, buflen;
int lp, linelen;
int type;
float fleeDist, headingChangeRate, attackStrength, defendWeakness;
diff --git a/src/peds/PedType.cpp b/src/peds/PedType.cpp
index 8bf4c6e1..397cd71d 100644
--- a/src/peds/PedType.cpp
+++ b/src/peds/PedType.cpp
@@ -43,7 +43,7 @@ CPedType::LoadPedData(void)
char *buf;
char line[256];
char word[32];
- int bp, buflen;
+ size_t bp, buflen;
int lp, linelen;
int type;
uint32 flags;