mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-08-04 10:16:41 -04:00
minor tweak to a min function signature
This commit is contained in:
parent
8bd9b8c0f2
commit
ccf8ea17f1
@ -237,7 +237,7 @@ inline void StdOutput::spacePrint( std::ostream& os,
|
||||
while ( start < len )
|
||||
{
|
||||
// find the substring length
|
||||
int stringLen = std::min( len - start, allowedLen );
|
||||
int stringLen = std::min<int>( len - start, allowedLen );
|
||||
|
||||
// trim the length so it doesn't end in middle of a word
|
||||
if ( stringLen == allowedLen )
|
||||
|
Loading…
x
Reference in New Issue
Block a user