You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-util/grfcodec/files/grfcodec-6.0.6-gcc10.patch

13 lines
507 B

diff -Nrup a/src/command.cpp b/src/command.cpp
--- a/src/command.cpp 2015-05-09 04:59:46.000000000 -0600
+++ b/src/command.cpp 2019-09-24 11:37:06.667911307 -0600
@@ -303,7 +303,7 @@ bool parse_comment(const string&line){
uint val=find_command(command_part,beaut),togglebit;
if(val!=(uint)-1&&val!=OFF)_commandState.beautifier=true;
switch(val){
- case -1:
+ case -1u:
IssueMessage(0,COMMAND_INVALID_ARG,gen[BEAUTIFY].name);
return true;
case OFF:_commandState.beautifier=false;break;