diff --git a/src/include/kdbnotificationinternal.h b/src/include/kdbnotificationinternal.h index 41c8ca40c6f..487a6fe4d02 100644 --- a/src/include/kdbnotificationinternal.h +++ b/src/include/kdbnotificationinternal.h @@ -47,7 +47,7 @@ extern "C" { return 0; \ } \ ELEKTRA_NOTIFICATION_REGISTERFUNC_TYPEDEF (RegisterFuncType, TYPE) \ - RegisterFuncType registerFunc = (RegisterFuncType)func; \ + RegisterFuncType registerFunc = (RegisterFuncType) func; \ return registerFunc (notificationPlugin, key, variable); \ } diff --git a/src/plugins/internalnotification/internalnotification.h b/src/plugins/internalnotification/internalnotification.h index 60c77d4cb9e..1d6d3394c7b 100644 --- a/src/plugins/internalnotification/internalnotification.h +++ b/src/plugins/internalnotification/internalnotification.h @@ -43,7 +43,7 @@ void elektraInternalnotificationUpdateRegisteredKeys (Plugin * plugin, KeySet * #define INTERNALNOTIFICATION_TYPE(TYPE, VALUE_TYPE, TYPE_NAME, TO_VALUE, CHECK_CONVERSION) \ INTERNALNOTIFICATION_CONVERSION_CALLBACK_SIGNATURE (TYPE_NAME) \ { \ - TYPE * variable = (TYPE *)context; \ + TYPE * variable = (TYPE *) context; \ char * end ELEKTRA_UNUSED; \ const char * string = keyValue (key); \ errno = 0; \