Fix a few signed unsigned mismatches

This commit is contained in:
Inusaito Sayori
2013-10-03 12:41:10 -04:00
parent 8bdc92c99b
commit 1c96fa09fd
3 changed files with 3 additions and 3 deletions

View File

@@ -291,7 +291,7 @@ AIHTTPView::~AIHTTPView()
mGLHTTPHeaderBar = NULL; mGLHTTPHeaderBar = NULL;
} }
U32 AIHTTPView::updateColumn(int col, U32 start) U32 AIHTTPView::updateColumn(U32 col, U32 start)
{ {
if (col > mStartColumn.size()) if (col > mStartColumn.size())
{ {

View File

@@ -52,7 +52,7 @@ class AIHTTPView : public LLContainerView
/*virtual*/ BOOL handleMouseUp(S32 x, S32 y, MASK mask); /*virtual*/ BOOL handleMouseUp(S32 x, S32 y, MASK mask);
/*virtual*/ BOOL handleKey(KEY key, MASK mask, BOOL called_from_parent); /*virtual*/ BOOL handleKey(KEY key, MASK mask, BOOL called_from_parent);
U32 updateColumn(int col, U32 start); U32 updateColumn(U32 col, U32 start);
void setWidth(S32 width) { mWidth = width; } void setWidth(S32 width) { mWidth = width; }
private: private:

View File

@@ -153,7 +153,7 @@ void LLLogChat::loadHistory(std::string const& filename , void (*callback)(ELogL
char buffer[LOG_RECALL_BUFSIZ]; char buffer[LOG_RECALL_BUFSIZ];
bool error = false; bool error = false;
int nlines = 0; U32 nlines = 0;
while (pos > 0 && nlines < lines) while (pos > 0 && nlines < lines)
{ {
// Read the LOG_RECALL_BUFSIZ characters before pos. // Read the LOG_RECALL_BUFSIZ characters before pos.