diff --git a/exosphere/randomcache.c b/exosphere/randomcache.c index 675b64581..e9e50ecbc 100644 --- a/exosphere/randomcache.c +++ b/exosphere/randomcache.c @@ -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; } } }