From d6eee2018898f2442883a0aa77ad095b75572cfb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 27 Aug 2015 15:15:33 +0000 Subject: fix for 64-bit issues & warnings git-svn-id: http://svn.miranda-ng.org/main/trunk@15043 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/DbEditorPP/src/findwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/DbEditorPP/src') diff --git a/plugins/DbEditorPP/src/findwindow.cpp b/plugins/DbEditorPP/src/findwindow.cpp index 92144dcb05..0f07fb1934 100644 --- a/plugins/DbEditorPP/src/findwindow.cpp +++ b/plugins/DbEditorPP/src/findwindow.cpp @@ -319,7 +319,7 @@ int FindMatchA(const char *text, char *search, int options) return (options & F_CASE) ? !strcmp(text, search) : !stricmp(text, search); // on empty string strstr() returns full string while StrStrI() returns NULL - return (options & F_CASE) ? (int)strstr(text, search) : (int)StrStrIA(text, search); + return (options & F_CASE) ? (INT_PTR)strstr(text, search) : (INT_PTR)StrStrIA(text, search); } @@ -332,7 +332,7 @@ int FindMatchW(const WCHAR *text, WCHAR *search, int options) return (options & F_CASE) ? !wcscmp(text, search) : !wcsicmp(text, search); // on empty string strstr() returns full string while StrStrI() returns NULL - return (options & F_CASE) ? (int)wcsstr(text, search) : (int)StrStrIW(text, search); + return (options & F_CASE) ? (INT_PTR)wcsstr(text, search) : (INT_PTR)StrStrIW(text, search); } -- cgit v1.2.3