Skip to content

Commit 23894d3

Browse files
committed
Adjust mock in unit tests: fixed image_type field
1 parent 10b2b29 commit 23894d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/unit-tests/unit-image.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ static uint16_t _find_header(uint8_t *haystack, uint16_t type, uint8_t **ptr)
236236
return 0;
237237
}
238238

239-
uint32_t wolfBoot_get_blob_type(uint8_t *addr)
239+
uint16_t wolfBoot_get_blob_type(uint8_t *addr)
240240
{
241241
return HDR_IMG_TYPE_APP;
242242
}

0 commit comments

Comments
 (0)