Skip to content

Commit c4df11b

Browse files
committed
Fix -Wparentheses warning
1 parent 392ae4b commit c4df11b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gpre/gpre.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,7 @@ static bool file_rename(TEXT* file_nameL, const TEXT* extension, const TEXT* new
14201420
}
14211421

14221422
// Didn't match extension, so add the extension
1423-
while (*terminator++ = *extension++)
1423+
while ((*terminator++ = *extension++))
14241424
;
14251425

14261426
return true;

0 commit comments

Comments
 (0)