Commit e954f05f authored by John Doe's avatar John Doe Committed by hpi1
Browse files

Fix mkb_type() return value

parent 2ed84a0b
...@@ -110,7 +110,7 @@ size_t mkb_data_size(MKB *mkb) ...@@ -110,7 +110,7 @@ size_t mkb_data_size(MKB *mkb)
} }
uint8_t mkb_type(MKB *mkb) uint32_t mkb_type(MKB *mkb)
{ {
const uint8_t *rec = mkb_type_and_version_record(mkb); const uint8_t *rec = mkb_type_and_version_record(mkb);
......
...@@ -36,7 +36,7 @@ BD_PRIVATE const uint8_t *mkb_data(MKB *mkb); ...@@ -36,7 +36,7 @@ BD_PRIVATE const uint8_t *mkb_data(MKB *mkb);
BD_PRIVATE size_t mkb_data_size(MKB *mkb); BD_PRIVATE size_t mkb_data_size(MKB *mkb);
// returns type // returns type
BD_PRIVATE uint8_t mkb_type(MKB *mkb); BD_PRIVATE uint32_t mkb_type(MKB *mkb);
// returns version // returns version
BD_PRIVATE uint32_t mkb_version(MKB *mkb); BD_PRIVATE uint32_t mkb_version(MKB *mkb);
// returns type and version record (required to verify signatures) // returns type and version record (required to verify signatures)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment