diff options
author | Lunar Journal <root@spacehen.io> | 2023-09-09 19:26:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-09 19:26:03 +0200 |
commit | a3655fbccb17dbada53201bbcb22d641f7e5610b (patch) | |
tree | df0f21de1d7ea273d11875ec34a7a9f82dfefde6 | |
parent | 29568fd85c616fa7fff9da3f6fb9bf6d783d8809 (diff) | |
download | cdl86-a3655fbccb17dbada53201bbcb22d641f7e5610b.tar.gz cdl86-a3655fbccb17dbada53201bbcb22d641f7e5610b.zip |
cdl86: core: update initializers
Use explicit syntax.
-rw-r--r-- | cdl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -540,7 +540,7 @@ struct cdl_jmp_patch cdl_jmp_attach( uint8_t* target_origin = NULL;
uint8_t* plt_got = NULL;
uint8_t* bytes_orig = NULL;
- struct cdl_jmp_patch jmp_patch = {};
+ struct cdl_jmp_patch jmp_patch = {0};
target_origin = (uint8_t*)*target;
/* Check if target pointer is PLT entry. */
@@ -638,7 +638,7 @@ struct cdl_swbp_patch cdl_swbp_attach( uint8_t* bytes_orig = NULL;
uint8_t* target_origin = NULL;
uint8_t* plt_got = NULL;
- struct cdl_swbp_patch swbp_patch = {};
+ struct cdl_swbp_patch swbp_patch = {0};
/* Initialise cdl signal handler. */
if (!cdl_swbp_init)
|