diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-08 18:31:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-08 18:31:37 +0300 |
commit | 519d998fdec7feff3ec14876ab4c077759e374e4 (patch) | |
tree | 257065b6012f1da3db8d15a7adf4c7864a1133bd /src/gui/windows | |
parent | 6fa6509bff3e0f761d8dc8979a17b190c482ae72 (diff) | |
download | mv-519d998fdec7feff3ec14876ab4c077759e374e4.tar.gz mv-519d998fdec7feff3ec14876ab4c077759e374e4.tar.bz2 mv-519d998fdec7feff3ec14876ab4c077759e374e4.tar.xz mv-519d998fdec7feff3ec14876ab4c077759e374e4.zip |
Fix possible variables overflow.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/whoisonline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp index e5a803a29..3c68adac1 100644 --- a/src/gui/windows/whoisonline.cpp +++ b/src/gui/windows/whoisonline.cpp @@ -373,7 +373,7 @@ void WhoIsOnline::loadWebList() mBrowserBox->clearRows(); bool listStarted(false); std::string lineStr; - int numOnline(0); + size_t numOnline(0U); // Tokenize and add each line separately char *line = strtok(mMemoryBuffer, "\n"); |