}
read_random_seed(func);
+ /* Update the seed immediately, in case another instance uses it. */
+ random_save_seed();
gsps = NULL;
mod = GetModuleHandle("KERNEL32");
if (random_active) {
random_get_savedata(&data, &len);
write_random_seed(data, len);
+ sfree(data);
}
}
* counter to the noise pool. It gets the scan code or mouse
* position passed in.
*/
-void noise_ultralight(DWORD data)
+void noise_ultralight(unsigned long data)
{
DWORD wintime;
LARGE_INTEGER perftime;