Fix type comparison issue that is a hard error in GCC 10. Taken from upstream: https://github.com/OpenTTD/grfcodec/commit/bb692b2c723c5e87cc8f89f445928e97594d5b8f diff --git a/src/command.cpp b/src/command.cpp index 9aa0e14..1f32cf1 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -300,8 +300,9 @@ bool parse_comment(const string&line){ break; case BEAUTIFY:{ commandstream>>command_part; - uint val=find_command(command_part,beaut),togglebit; - if(val!=(uint)-1&&val!=OFF)_commandState.beautifier=true; + int val=find_command(command_part,beaut); + uint togglebit; + if(val!=-1&&val!=OFF)_commandState.beautifier=true; switch(val){ case -1: IssueMessage(0,COMMAND_INVALID_ARG,gen[BEAUTIFY].name); @@ -372,7 +373,7 @@ bool parse_comment(const string&line){ dotoggle: commandstream>>command_part; val=find_command(command_part,beaut); - if(!commandstream||val==(uint)-1){ + if(!commandstream||val==-1){ IssueMessage(0,COMMAND_INVALID_ARG,gen[BEAUTIFY].name); return true; } about/'>aboutsummaryrefslogtreecommitdiff
path: root/doc/htmlxref.cnf
AgeCommit message (Expand)Author
2020-01-12doc: Update htmlxref.cnf....* doc/htmlxref.cnf: Update from Texinfo. Add entries for "mes", "guix.ru", and "guix.zh_CN". Ludovic Courtès
2019-05-04doc: Update htmlxref.cnf....* doc/htmlxref.cnf (G): Switch to https. (geiser, guix.de, guix.es, hurd): New entries. Ludovic Courtès
2018-07-05doc: Update URL of the Emacs-Guix manual....* doc/htmlxref.cnf (EMACS_GUIX): Update URL. Ludovic Courtès
2018-07-05doc: Mention translations of the manual....* doc/guix.texi (Top): Add note about l10n. * doc/htmlxref.cnf: Add "guix.fr". Ludovic Courtès
2017-05-30doc: htmlxref: Fix link to Emacs-Guix manual....Reported-by: Ludovic Courtès <ludo@gnu.org> This fixes a regression introduced by commit 8ca0c88a894c685b624757e38ee7663534f03460. * doc/htmlxref.cnf (EMACS_GUIX): Fix the link to 'html_node'. Alex Kost