summaryrefslogtreecommitdiff
path: root/cdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'cdl.c')
-rw-r--r--cdl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cdl.c b/cdl.c
index 314223f..fe5303b 100644
--- a/cdl.c
+++ b/cdl.c
@@ -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)