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