From 9173581e471295d95762aabea8a4a474d355016d Mon Sep 17 00:00:00 2001 From: Christopher Jefferson Date: Mon, 20 Apr 2020 15:58:25 +0100 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: Max Horn --- src/sysfiles.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sysfiles.c b/src/sysfiles.c index 8a891ab5f9..861461f6ff 100644 --- a/src/sysfiles.c +++ b/src/sysfiles.c @@ -616,8 +616,8 @@ Int SyFopen ( Char namegz [1024]; int flags = 0; - Char* terminator = strrchr(name, '.'); - Int endsgz = terminator && (strcmp(terminator, ".gz") == 0); + Char * terminator = strrchr(name, '.'); + BOOL endsgz = terminator && (strcmp(terminator, ".gz") == 0); /* handle standard files */ if ( strcmp( name, "*stdin*" ) == 0 ) {