From 856800936f2c0459c5aee44c7425c0b25df32f39 Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Fri, 15 Oct 2021 13:48:49 +0200 Subject: [PATCH] - added missing typecast --- hal/filesystem/linux/file_provider_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hal/filesystem/linux/file_provider_linux.c b/hal/filesystem/linux/file_provider_linux.c index e9f03e87..dc869d96 100644 --- a/hal/filesystem/linux/file_provider_linux.c +++ b/hal/filesystem/linux/file_provider_linux.c @@ -114,7 +114,7 @@ FileSystem_openDirectory(char* directoryName) DirectoryHandle handle = NULL; if (dirHandle != NULL) { - handle = GLOBAL_MALLOC(sizeof(struct sDirectoryHandle)); + handle = (DirectoryHandle) GLOBAL_MALLOC(sizeof(struct sDirectoryHandle)); handle->handle = dirHandle; }