ossp-pkg/uuid/uuid.c 1.26 -> 1.27
--- uuid.c 2004/01/15 13:45:18 1.26
+++ uuid.c 2004/01/15 15:29:36 1.27
@@ -522,7 +522,7 @@
prng_data(uuid->prng, (void *)&clck, sizeof(clck));
else
clck++;
- clck &= BM_MASK(5,0);
+ clck %= BM_POW2(14);
/* store back new clock sequence */
uuid->obj.clock_seq_hi_and_reserved =
|
|