Skip to content

Commit

Permalink
[core] fix build break when cross-compiling for nCipher target
Browse files Browse the repository at this point in the history
Apparently, the nCipher GCC compiler is more strict about the syntax
that it accepts.
  • Loading branch information
ivmaykov committed May 12, 2023
1 parent bf66b6c commit 690dec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/checks/self_checks.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ typedef struct self_check_function_info {
} self_check_function_info;

#define MAX_SELF_CHECKS ((size_t) 128)
static self_check_function_info self_checks[MAX_SELF_CHECKS] = { 0 };
static self_check_function_info self_checks[MAX_SELF_CHECKS] = { { 0 } };
static size_t self_checks_count = 0;
static bool self_checks_registered = false;

Expand Down

0 comments on commit 690dec9

Please sign in to comment.