summaryrefslogtreecommitdiff
path: root/yapp/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'yapp/services.cpp')
-rw-r--r--yapp/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/yapp/services.cpp b/yapp/services.cpp
index 1864728..0278e2f 100644
--- a/yapp/services.cpp
+++ b/yapp/services.cpp
@@ -16,7 +16,7 @@ void StripBBCodesInPlace(wchar_t *text) {
return;
int read = 0, write = 0;
- int len = wcslen(text);
+ int len = (int)wcslen(text);
while(read <= len) { // copy terminating null too
while(read <= len && text[read] != L'[') {