minor tweak to a min function signature

This commit is contained in:
mes5k 2006-08-22 06:13:56 +00:00
parent 8bd9b8c0f2
commit ccf8ea17f1

View File

@ -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 )