summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice <maurice.henke@protonmail.com>2021-07-04 19:08:11 +0200
committerMaurice <maurice.henke@protonmail.com>2021-07-04 19:38:55 +0200
commitb2181702d27e32f9e21eada5251e486ba31fba15 (patch)
tree0345f3e2a01727c1647e7adee1b5496ede88f23a
parent476158f54a4c1492a75598142faf672ef129f614 (diff)
Changed int to uint8 as these should never be negative anyway
-rw-r--r--GameCube/include/rando/seedlist.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/GameCube/include/rando/seedlist.h b/GameCube/include/rando/seedlist.h
index 9eb06205..ac480f67 100644
--- a/GameCube/include/rando/seedlist.h
+++ b/GameCube/include/rando/seedlist.h
@@ -35,8 +35,9 @@ namespace mod::rando
// Returning with mod guarantees for read access within numSeeds
return static_cast<SeedInfo>( m_seedInfo[n % m_numSeeds] );
}
- int m_numSeeds;
- int m_selectedSeed;
+
+ uint8_t m_numSeeds;
+ uint8_t m_selectedSeed;
private:
SeedInfo* m_seedInfo = nullptr;