Fixed small issue with newest gcc

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@700 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2006-03-17 20:54:16 +00:00
parent 65e33792dd
commit 810369db4b
2 changed files with 7 additions and 2 deletions
+5 -1
View File
@@ -540,7 +540,11 @@ unsigned int CTable::GetColumnWidth(unsigned int uIdx) {
for (unsigned int a = 0; a < size(); a++) {
map<CString, CString>* pRow = (*this)[a];
uRet = uRet >? (*pRow)[m_vsHeaders[uIdx]].size();
unsigned int uTmp = (*pRow)[m_vsHeaders[uIdx]].size();
if (uTmp > uRet) {
uRet = uTmp;
}
}
return uRet;