diff options
Diffstat (limited to 'demos')
-rw-r--r-- | demos/state_machine/state_machine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/state_machine/state_machine.c b/demos/state_machine/state_machine.c index f8a7da80d9..cd990b23d4 100644 --- a/demos/state_machine/state_machine.c +++ b/demos/state_machine/state_machine.c @@ -114,7 +114,7 @@ void SSLStateMachine_print_error(SSLStateMachine * pMachine, SSLStateMachine *SSLStateMachine_new(const char *szCertificateFile, const char *szKeyFile) { - SSLStateMachine *pMachine = malloc(sizeof *pMachine); + SSLStateMachine *pMachine = malloc(sizeof(*pMachine)); int n; die_unless(pMachine); |