suppress visual studio warnings about loosing data when calculating Token::progressValue

This commit is contained in:
Daniel Marjamäki 2010-08-05 21:40:04 +02:00
parent eedb5e383e
commit 32d98969fb
1 changed files with 7 additions and 2 deletions

View File

@ -339,7 +339,7 @@ public:
static void move(Token *srcStart, Token *srcEnd, Token *newLocation); static void move(Token *srcStart, Token *srcEnd, Token *newLocation);
/** Get progressValue */ /** Get progressValue */
unsigned char progressValue() const unsigned int progressValue() const
{ {
return _progressValue; return _progressValue;
} }
@ -401,7 +401,12 @@ private:
Token *_link; Token *_link;
unsigned int _fileIndex; unsigned int _fileIndex;
unsigned int _linenr; unsigned int _linenr;
unsigned char _progressValue;
/**
* A value from 0-100 that provides a rough idea about where in the token
* list this token is located.
*/
unsigned int _progressValue;
}; };
/// @} /// @}