diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2013-01-22 17:55:05 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2013-01-22 17:55:05 +0000 |
commit | 1432ca2e089f3c1cb68baebc1b70563bc133f857 (patch) | |
tree | 50b83f4832b8e59513d15abdefcca26250cb274e /plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp | |
parent | bd8210d0d851e2041b4924c5166141d16d0afc9a (diff) |
fixed work with HTTPServer
git-svn-id: http://svn.miranda-ng.org/main/trunk@3235 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp')
-rw-r--r-- | plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp b/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp index 2676fbb0c0..0a484b0361 100644 --- a/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp +++ b/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp @@ -79,12 +79,12 @@ void CSendHTTPServer::Send() { }
void CSendHTTPServer::SendThread() {
- int ret;
+ INT_PTR ret;
mir_freeAndNil(m_URL);
if (ServiceExists(MS_HTTP_GET_LINK)) {
//patched plugin version
- ret = (int)CallService(MS_HTTP_ADD_CHANGE_REMOVE, (WPARAM)m_hContact, (LPARAM)&m_fsi);
+ ret = CallService(MS_HTTP_ADD_CHANGE_REMOVE, (WPARAM)m_hContact, (LPARAM)&m_fsi);
if (!ret) {
m_URL = (LPSTR)CallService(MS_HTTP_GET_LINK, (WPARAM)m_fsi.pszSrvPath, NULL);
}
@@ -94,7 +94,7 @@ void CSendHTTPServer::SendThread() { m_fsi.dwOptions = OPT_SEND_LINK;
//send DATA and wait for reply
- ret = (int)CallService(MS_HTTP_ADD_CHANGE_REMOVE, (WPARAM)m_hContact, (LPARAM)&m_fsi);
+ ret = CallService(MS_HTTP_ADD_CHANGE_REMOVE, (WPARAM)m_hContact, (LPARAM)&m_fsi);
}
if (ret != 0) {
|