diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2009-03-29 16:20:10 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2009-03-29 16:20:10 +0000 |
commit | 7ca0277c12724173c8951f7db3d06edc33231f68 (patch) | |
tree | 85a5cf569836fdc2e1d644e3171581725b2a52f2 /metacontacts/meta_utils.c | |
parent | d1ef727e95bac24bc97ebe5cb3c3f0ee42271f86 (diff) |
x64 portability
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@440 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'metacontacts/meta_utils.c')
-rw-r--r-- | metacontacts/meta_utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/metacontacts/meta_utils.c b/metacontacts/meta_utils.c index 6077117..a61db7e 100644 --- a/metacontacts/meta_utils.c +++ b/metacontacts/meta_utils.c @@ -28,7 +28,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. HANDLE invisiGroup;
POINT menuMousePoint;
-int MyDBWriteContactSetting(HANDLE hContact, const char *szModule, const char *szSetting, DBVARIANT *dbv) {
+INT_PTR MyDBWriteContactSetting(HANDLE hContact, const char *szModule, const char *szSetting, DBVARIANT *dbv) {
DBCONTACTWRITESETTING dcws;
dcws.szModule = szModule;
dcws.szSetting = szSetting;
@@ -36,7 +36,7 @@ int MyDBWriteContactSetting(HANDLE hContact, const char *szModule, const char *s return CallService(MS_DB_CONTACT_WRITESETTING, (WPARAM)hContact, (LPARAM)&dcws);
}
-int MyDBGetContactSetting(HANDLE hContact, const char *szModule, const char *szSetting, DBVARIANT *dbv) {
+INT_PTR MyDBGetContactSetting(HANDLE hContact, const char *szModule, const char *szSetting, DBVARIANT *dbv) {
static BOOL strsvc, strsvcset = FALSE;
memset(dbv, 0, sizeof(DBVARIANT));
@@ -1486,7 +1486,7 @@ int Meta_SwapContacts(HANDLE hMeta, DWORD contact_number1, DWORD contact_number2 return 0;
}
-BOOL CALLBACK DlgProcNull(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK DlgProcNull(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
switch(msg) {
case WM_INITDIALOG:
@@ -1709,7 +1709,7 @@ void Meta_FixStatus(HANDLE hMeta) { }
-int Meta_IsEnabled() {
+INT_PTR Meta_IsEnabled() {
return DBGetContactSettingByte(0, META_PROTO, "Enabled", 1) && (meta_group_hack_disabled || DBGetContactSettingByte(NULL, "CList", "UseGroups", 1));
}
|