]> mj.ucw.cz Git - libucw.git/commitdiff
Too much changes... Read the ChangeLogs.
authorMartin Mares <mj@ucw.cz>
Sat, 3 May 1997 18:15:37 +0000 (18:15 +0000)
committerMartin Mares <mj@ucw.cz>
Sat, 3 May 1997 18:15:37 +0000 (18:15 +0000)
lib/temp.c

index ce9ab573de9c7e82e301afea31a803775550079d..32a6529bca724795aa2f34c4c3d51000cbf74ee9 100644 (file)
@@ -22,7 +22,7 @@ temprand(uns key)
       seeded = 1;
       srand(getpid());
     }
-  rand = random();
+  rand = random() << 1;
   rand += key * 0xdeadbeef;
   return rand;
 }