summaryrefslogtreecommitdiff
path: root/include/tools_share/uuid.h
diff options
context:
space:
mode:
authorDimitris Papastamos <dimitris.papastamos@arm.com>2018-06-22 15:56:42 +0100
committerGitHub <noreply@github.com>2018-06-22 15:56:42 +0100
commitebce735dac2f28e8034c6fd1ba7a7537fd63fbfa (patch)
tree3e9ef7a900be6fce016a72b7b6cd7de614ada47b /include/tools_share/uuid.h
parentb70dcbc17222687859ac1cf58d4d7c5cb5c379fe (diff)
parent033648652f2d66abe2454a75ded891a47cb13446 (diff)
Merge pull request #1406 from robertovargas-arm/uuid
Make TF UUID RFC 4122 compliant
Diffstat (limited to 'include/tools_share/uuid.h')
-rw-r--r--include/tools_share/uuid.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tools_share/uuid.h b/include/tools_share/uuid.h
index 6d935bd6..f3ac4af5 100644
--- a/include/tools_share/uuid.h
+++ b/include/tools_share/uuid.h
@@ -48,9 +48,9 @@
* A DCE 1.1 compatible source representation of UUIDs.
*/
struct uuid {
- uint32_t time_low;
- uint16_t time_mid;
- uint16_t time_hi_and_version;
+ uint8_t time_low[4];
+ uint8_t time_mid[2];
+ uint8_t time_hi_and_version[2];
uint8_t clock_seq_hi_and_reserved;
uint8_t clock_seq_low;
uint8_t node[_UUID_NODE_LEN];