aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2020-03-23 13:48:33 -0700
committerMike Buland <eichlan@xagasoft.com>2020-03-23 13:48:33 -0700
commit9db480db19a6929d958edd143d22fbf249afcb6f (patch)
tree86f16949ef12b31eb865d62f2b9968d8e68be14a
parentead9b8be325bdadb6b2a4e2a3b22dd34d7df8e4d (diff)
downloadlibbu++-9db480db19a6929d958edd143d22fbf249afcb6f.tar.gz
libbu++-9db480db19a6929d958edd143d22fbf249afcb6f.tar.bz2
libbu++-9db480db19a6929d958edd143d22fbf249afcb6f.tar.xz
libbu++-9db480db19a6929d958edd143d22fbf249afcb6f.zip
Updated to work with newer GCC.
Super minor type mismatch, which it was quite correct about.
Diffstat (limited to '')
-rw-r--r--src/stable/optparser.cpp2
1 files changed, 1 insertions, 1 deletions
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 )
77 { 77 {
78 pOpt->pProxy->setValueFromStr( sExtraParam ); 78 pOpt->pProxy->setValueFromStr( sExtraParam );
79 } 79 }
80 else if( argv[j+1] != '\0' ) 80 else if( argv[j+1] != 0 )
81 { 81 {
82 pOpt->pProxy->setValueFromStr( argv[j+1] ); 82 pOpt->pProxy->setValueFromStr( argv[j+1] );
83 j++; 83 j++;