Fix compiler warnings in shParams.c