diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2009-03-31 05:36:07 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2009-03-31 05:36:07 +0000 |
commit | 48efd9c57fdbe79fa5f03edf306b052646aec483 (patch) | |
tree | 84b5925d92c5b648df1fdeb2a27b2b40c58e3840 | |
parent | 20d1480ed78c9395749d5b4e198d8687f95220e6 (diff) |
x64 port
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@451 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r-- | worldtime_protocol/worldtimeproto.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/worldtime_protocol/worldtimeproto.cpp b/worldtime_protocol/worldtimeproto.cpp index b185b9c..88bca3a 100644 --- a/worldtime_protocol/worldtimeproto.cpp +++ b/worldtime_protocol/worldtimeproto.cpp @@ -30,13 +30,13 @@ INT_PTR GetCaps(WPARAM wParam,LPARAM lParam) case PFLAGNUM_4:
break;
case PFLAG_UNIQUEIDTEXT:
- ret = (int) Translate(PROTO);
+ ret = (INT_PTR) Translate(PROTO);
break;
case PFLAG_MAXLENOFMESSAGE:
ret = 2000;
break;
case PFLAG_UNIQUEIDSETTING:
- ret = (int) "Nick";
+ ret = (INT_PTR) "Nick";
break;
}
return ret;
@@ -78,7 +78,7 @@ INT_PTR LoadIcon(WPARAM wParam,LPARAM lParam) id = IDI_ICON_PROTO;
break;
default:
- return (int) (HICON) NULL;
+ return 0;
}
return (INT_PTR) LoadImage(hInst, MAKEINTRESOURCE(id), IMAGE_ICON,
|