We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 997923a commit 1f7e6ceCopy full SHA for 1f7e6ce
1 file changed
src/unit/unit_Finger2.cpp
@@ -932,7 +932,7 @@ bool UnitFinger2::findLowestAvailablePage(uint16_t& page)
932
{
933
page = 0xFFFF;
934
935
- uint16_t no{};
+ uint16_t no{0xFFFF};
936
uint8_t table[32]{};
937
auto cap = capacity();
938
uint_fast8_t eidx = std::min(32, (cap >> 3) + 1);
@@ -966,7 +966,7 @@ bool UnitFinger2::findHighestAvailablePage(uint16_t& page)
966
967
968
969
970
971
972
0 commit comments