diff --git a/indra/llcommon/llsd.h b/indra/llcommon/llsd.h
index 09aac47d0d937f2ded637e24d85434c88a4c670c..dfdf71d6a9c091b9b91e452ea7028c53815875e8 100644
--- a/indra/llcommon/llsd.h
+++ b/indra/llcommon/llsd.h
@@ -208,6 +208,7 @@ class LL_COMMON_API LLSD
 		
 		LLSD& operator=(Boolean v)			{ assign(v); return *this; }
 		LLSD& operator=(Integer v)			{ assign(v); return *this; }
+		LLSD& operator=(size_t v)			{ assign(Integer(v)); return *this; }
 		LLSD& operator=(Real v)				{ assign(v); return *this; }
 		LLSD& operator=(const String& v)	{ assign(v); return *this; }
 		LLSD& operator=(const UUID& v)		{ assign(v); return *this; }