From 9db480db19a6929d958edd143d22fbf249afcb6f Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 23 Mar 2020 13:48:33 -0700 Subject: Updated to work with newer GCC. Super minor type mismatch, which it was quite correct about. --- src/stable/optparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/stable/optparser.cpp b/src/stable/optparser.cpp index 0f9b2b1..c0f5732 100644 --- a/src/stable/optparser.cpp +++ b/src/stable/optparser.cpp @@ -77,7 +77,7 @@ void Bu::OptParser::parse( int argc, char **argv ) { pOpt->pProxy->setValueFromStr( sExtraParam ); } - else if( argv[j+1] != '\0' ) + else if( argv[j+1] != 0 ) { pOpt->pProxy->setValueFromStr( argv[j+1] ); j++; -- cgit v1.2.3