diff options
author | Kurausukun <lord.uber1@gmail.com> | 2021-05-01 01:41:27 -0400 |
---|---|---|
committer | Kurausukun <lord.uber1@gmail.com> | 2021-05-01 01:41:27 -0400 |
commit | 608c829acde07dd780371a3adf9e7d3f546402fb (patch) | |
tree | d6e14b195873f2939d3e742bf7910b649eba5d80 /src/pokemon_size_record.c | |
parent | 24e02085d77a71834cead3886b4ae2fbfbb72b6f (diff) |
change usages of float/double to f32/f64
Diffstat (limited to 'src/pokemon_size_record.c')
-rw-r--r-- | src/pokemon_size_record.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokemon_size_record.c b/src/pokemon_size_record.c index 4beb9c83f..7c88e5bf1 100644 --- a/src/pokemon_size_record.c +++ b/src/pokemon_size_record.c @@ -97,7 +97,7 @@ static void FormatMonSizeRecord(u8 *string, u32 size) { #ifdef UNITS_IMPERIAL //Convert size from centimeters to inches - size = (double)(size * 10) / (CM_PER_INCH * 10); + size = (f64)(size * 10) / (CM_PER_INCH * 10); #endif string = ConvertIntToDecimalStringN(string, size / 10, STR_CONV_MODE_LEFT_ALIGN, 8); |