libpldm : Fix ver32 encoding declaration
This commit would attempt to fix the wrongly captured
ver32 structure declaration in libpldm & impacted test
cases.
Resolves : https://github.com/openbmc/pldm/issues/27
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I9dccd4377bb1ef0e7738527ff154fd75f6277f39
diff --git a/libpldm/pldm_types.h b/libpldm/pldm_types.h
index 3c5f086..e48cb8c 100644
--- a/libpldm/pldm_types.h
+++ b/libpldm/pldm_types.h
@@ -22,10 +22,10 @@
*
*/
typedef struct pldm_version {
- uint8_t major;
- uint8_t minor;
- uint8_t update;
uint8_t alpha;
+ uint8_t update;
+ uint8_t minor;
+ uint8_t major;
} __attribute__((packed)) ver32_t;
typedef uint8_t bool8_t;