diff --git a/src/epics/util/lib/Noise.pm b/src/epics/util/lib/Noise.pm index 7322e419cc0c1f4a72dd65ae3b13b5960fc5689f..66ac2e1fbd36cb2460e9528d54be11ab91561ba7 100644 --- a/src/epics/util/lib/Noise.pm +++ b/src/epics/util/lib/Noise.pm @@ -39,13 +39,7 @@ sub printFrontEndVars { my ($i) = @_; print ::OUT "static double \L$::xpartName[$i];\n"; if ($printed) { return; } - - if ($::noiseGeneratorSeed != 0) { - print ::OUT "static unsigned long noise_seed = " . $::noiseGeneratorSeed . "LL;\n"; - } - else { - print ::OUT "static unsigned long noise_seed = 0LL;\n"; - } + print ::OUT "static unsigned long noise_seed = " . $::noiseGeneratorSeed . "ULL;\n"; print ::OUT << "END"; static unsigned long noise_u = 0, noise_v = 0, noise_w = 0;