From 2e88db37ad4d5fe6e5d6010a4d4259aa8d59911a Mon Sep 17 00:00:00 2001 From: Siana Gearz Date: Sun, 7 Aug 2011 22:32:07 +0200 Subject: [PATCH] Signed warning in texture fetcher --- indra/newview/app_settings/settings.xml | 4 ++-- indra/newview/lltexturefetch.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index cfe10a2e2..1998eab74 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -39,7 +39,7 @@ Persist 1 Type - U32 + S32 Value 32 @@ -50,7 +50,7 @@ Persist 1 Type - U32 + S32 Value 2 diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp index d24bff56b..83de34ecd 100644 --- a/indra/newview/lltexturefetch.cpp +++ b/indra/newview/lltexturefetch.cpp @@ -1274,8 +1274,8 @@ bool LLTextureFetchWorker::doWork(S32 param) //1, not openning too many file descriptors at the same time; //2, control the traffic of http so udp gets bandwidth. // - static const LLCachedControl max_http_requests("HTTPMaxRequests", 32); - static const LLCachedControl min_http_requests("HTTPMinRequests", 2); + static const LLCachedControl max_http_requests("HTTPMaxRequests", 32); + static const LLCachedControl min_http_requests("HTTPMinRequests", 2); if((mFetcher->getNumHTTPRequests() > max_http_requests) || ((mFetcher->getTextureBandwidth() > mFetcher->mMaxBandwidth) && (mFetcher->getNumHTTPRequests() > min_http_requests)) ||