[Core] Fixed a compiler warning.

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