From c9c71dec593d8a8f52818ead276d91aeb4d191df Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 5 Aug 2011 08:49:58 +1000 Subject: Use casts to squash 64-bit warnings from strlen return value. --- lexers/LexPowerPro.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexers/LexPowerPro.cxx') diff --git a/lexers/LexPowerPro.cxx b/lexers/LexPowerPro.cxx index 89bce5800..e8a7a6689 100644 --- a/lexers/LexPowerPro.cxx +++ b/lexers/LexPowerPro.cxx @@ -155,7 +155,7 @@ static void ColourisePowerProDoc(unsigned int startPos, int length, int initStyl if ((sc.ch > 0) && setWord.Contains(sc.ch)) { strcpy(s_save,s); - int tp = strlen(s_save); + int tp = static_cast(strlen(s_save)); if (tp < 99) { s_save[tp] = static_cast(tolower(sc.ch)); s_save[tp+1] = '\0'; -- cgit v1.2.3