second attempt to fix C compiler warnings with -fhpc