diff --git a/indra/newview/lllogchat.cpp b/indra/newview/lllogchat.cpp
index 369203410a85b8226109b289dde0c2fa89558783..f9a28041eb456bf63da20c3f51d33520c16f617e 100755
--- a/indra/newview/lllogchat.cpp
+++ b/indra/newview/lllogchat.cpp
@@ -59,7 +59,7 @@
 #include <boost/date_time/posix_time/posix_time.hpp>
 #include <boost/date_time/local_time_adjustor.hpp>
 
-const size_t LOG_RECALL_SIZE = 2048;
+const S32 LOG_RECALL_SIZE = 2048;
 
 const std::string LL_IM_TIME("time");
 const std::string LL_IM_TEXT("message");