1diff --git a/src/block_common.c b/src/block_common.c 2index 169200a6..c6da1f85 100644 3--- a/src/block_common.c 4+++ b/src/block_common.c 5@@ -106,7 +106,7 @@ EXPORT_SYM int CIPHER_START_OPERATION(const uint8_t key[], size_t key_len, CIPHE 6 if ((key == NULL) || (pResult == NULL)) 7 return ERR_NULL; 8 9- *pResult = calloc(1, sizeof(CIPHER_STATE_TYPE)); 10+ *pResult = (CIPHER_STATE_TYPE *) calloc(1, sizeof(CIPHER_STATE_TYPE)); 11 if (NULL == *pResult) 12 return ERR_MEMORY; 13