From 66f59478d09122ddf43c4ba3445754d1698bf016 Mon Sep 17 00:00:00 2001
From: Callum Linden <callum@lindenlab.com>
Date: Wed, 25 Jan 2023 10:57:29 -0800
Subject: [PATCH] DRTVWR-489-emoji: declaring this variable as a U16 leads to a
 warning (and therefore an error) but only on 32bit Windows builds - 64bit is
 fine.  I don't know why that's the case (should be both surely) but in any
 case, I think the variable should be declared as a size_t

---
 indra/newview/llpanelemojicomplete.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/llpanelemojicomplete.h b/indra/newview/llpanelemojicomplete.h
index 2116b350bec..aa0f8065258 100644
--- a/indra/newview/llpanelemojicomplete.h
+++ b/indra/newview/llpanelemojicomplete.h
@@ -85,7 +85,7 @@ class LLPanelEmojiComplete : public LLUICtrl
 	LLUIImagePtr	mSelectedImage;
 
 	LLWString       mEmojis;
-	U16             mVisibleEmojis = 0;
+	size_t          mVisibleEmojis = 0;
 	size_t          mFirstVisible = 0;
 	size_t          mScrollPos = 0;
 	size_t          mCurSelected = 0;
-- 
GitLab