Skip to content

Commit 8410210

Browse files
committed
Merge branch 'fix/eh_frame_parser_warnings_v5.5' into 'release/v5.5'
fix(esp_system): fix potential warnings related to array size in .eh_frame parser (backport v5.5) See merge request espressif/esp-idf!41983
2 parents 9a186c2 + 1bbf16c commit 8410210

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/esp_system/eh_frame_parser.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ typedef struct {
255255
* @brief Symbols defined by the linker.
256256
* Retrieve the addresses of both .eh_frame_hdr and .eh_frame sections.
257257
*/
258-
extern void *__eh_frame_hdr;
259-
extern void *__eh_frame;
258+
extern uint8_t __eh_frame_hdr[];
259+
extern uint8_t __eh_frame[];
260260

261261
/**
262262
* @brief Decode multiple bytes encoded in LEB128.

0 commit comments

Comments
 (0)