diff options
author | Callum Linden <callum@lindenlab.com> | 2023-01-25 10:57:29 -0800 |
---|---|---|
committer | Callum Linden <callum@lindenlab.com> | 2023-01-25 10:57:29 -0800 |
commit | 66f59478d09122ddf43c4ba3445754d1698bf016 (patch) | |
tree | df4ee7838fbb87c4cdc7907e0e4ad213a1125b97 | |
parent | 5dcdf8330409779591d35c05888efd02e412cf50 (diff) |
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
-rw-r--r-- | indra/newview/llpanelemojicomplete.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelemojicomplete.h b/indra/newview/llpanelemojicomplete.h index 2116b350be..aa0f806525 100644 --- a/indra/newview/llpanelemojicomplete.h +++ b/indra/newview/llpanelemojicomplete.h @@ -85,7 +85,7 @@ protected: LLUIImagePtr mSelectedImage; LLWString mEmojis; - U16 mVisibleEmojis = 0; + size_t mVisibleEmojis = 0; size_t mFirstVisible = 0; size_t mScrollPos = 0; size_t mCurSelected = 0; |