[Core] Fixed a compile time warning.

Signed-off-by: Daniel S. Reichenbach <daniel@kogitoapp.com>