randomcache: Typo in randomcache_refill (#38)

g_random_cache_low > high_plus_one didn't update g_random_cache_high.
This commit is contained in:
Merry 2018-02-23 13:40:47 +00:00 committed by SciresM
parent 0ec1ceca1f
commit e29123cac3

View file

@ -52,7 +52,7 @@ void randomcache_refill(void) {
}
} else { /* g_random_cache_low > high_plus_one */
randomcache_refill_segment(high_plus_one, g_random_cache_low - high_plus_one);
g_random_cache_high - g_random_cache_low - 1;
g_random_cache_high = g_random_cache_low - 1;
}
}
}