Reacted on harmless compiler warning.

This commit is contained in:
Thomas Schmitt 2012-06-18 14:43:56 +02:00
parent 55e134fb1c
commit 09b314c66f
1 changed files with 1 additions and 1 deletions

View File

@ -1768,7 +1768,7 @@ void iso_random_uuid(Ecma119Image *t, uint8_t uuid[16])
for (i = 0; i < 2; i++)
u[4 + i] = (pid >> (8 * i)) & 0xff;
u[6] = ((salt >> 8) | (pid >> 16)) & 0xff;
rnd = ((0xffffffffff & tv.tv_sec) << 8) |
rnd = ((0xffffff & tv.tv_sec) << 8) |
(((tv.tv_usec >> 16) ^ (salt & 0xf0)) & 0xff);
u[9] ^= counter & 0xff;
for (i = 0; i < 4; i++)