summaryrefslogtreecommitdiff
path: root/quackleio/froggetopt.cpp
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2023-07-19 18:07:39 -0500
committerJohn Fultz <jfultz@wolfram.com>2023-07-19 22:38:25 -0500
commitd302abb430f5cb75e7373197c91e269fdbaf2e61 (patch)
tree0f52f3cfa5feff989603d81c1c8b4af147cf08cb /quackleio/froggetopt.cpp
parent490072ac8b3de65f3ad6f00d9d6de9d64b049823 (diff)
Fix integer size compiler warnings.
Diffstat (limited to 'quackleio/froggetopt.cpp')
-rw-r--r--quackleio/froggetopt.cpp2
1 files changed, 1 insertions, 1 deletions
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--;