summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/CSendImageShack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendImageShack.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/CSendImageShack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSendImageShack.cpp b/plugins/SendScreenshotPlus/src/CSendImageShack.cpp
index 9d37604197..c12eed48fe 100644
--- a/plugins/SendScreenshotPlus/src/CSendImageShack.cpp
+++ b/plugins/SendScreenshotPlus/src/CSendImageShack.cpp
@@ -79,7 +79,7 @@ void CSendImageShack::SendThread() {
if(url && *url){
mir_free(m_URL), m_URL=mir_strdup(url);
mir_free(m_URLthumb), m_URLthumb=mir_strdup(m_URL);
- int extlen;
+ size_t extlen;
char* pos=strrchr(m_URLthumb,'.');
if(pos && (extlen=mir_strlen(pos))>2){
char* tmp=mir_strdup(pos);