From d302abb430f5cb75e7373197c91e269fdbaf2e61 Mon Sep 17 00:00:00 2001 From: John Fultz Date: Wed, 19 Jul 2023 18:07:39 -0500 Subject: Fix integer size compiler warnings. --- quackleio/froggetopt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quackleio/froggetopt.cpp') diff --git a/quackleio/froggetopt.cpp b/quackleio/froggetopt.cpp index 43f1d6b..8678c96 100644 --- a/quackleio/froggetopt.cpp +++ b/quackleio/froggetopt.cpp @@ -263,7 +263,7 @@ bool GetOpt::parse( bool untilFirstSwitchOnly ) } t = LongOpt; // split key=value style arguments - int equal = a.indexOf( '=' ); + qsizetype equal = a.indexOf( '=' ); if ( equal >= 0 ) { stack.push( a.mid( equal + 1 ) ); currArg--; -- cgit v1.2.3