diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2009-03-29 16:33:16 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2009-03-29 16:33:16 +0000 |
commit | 3f3cae8fe1f960b278b51b2526c85101fb321fa4 (patch) | |
tree | 15b384dc7c6418268a1931ef538e74c4654b47d6 | |
parent | a54110ae83aeb7e6b31b7320bfec06562ae6b546 (diff) |
x64 portability
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@442 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r-- | metacontacts/meta_services.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/metacontacts/meta_services.c b/metacontacts/meta_services.c index 91422bd..3676803 100644 --- a/metacontacts/meta_services.c +++ b/metacontacts/meta_services.c @@ -157,10 +157,10 @@ INT_PTR Meta_LoadIcon(WPARAM wParam,LPARAM lParam) id = IDI_MCMENU;
break;
default:
- return (int) (HICON) NULL;
+ return 0;
}
- return (int) LoadImage(hInstance, MAKEINTRESOURCE(id), IMAGE_ICON,
+ return (INT_PTR) LoadImage(hInstance, MAKEINTRESOURCE(id), IMAGE_ICON,
GetSystemMetrics(wParam & PLIF_SMALL ? SM_CXSMICON : SM_CXICON),
GetSystemMetrics(wParam & PLIF_SMALL ? SM_CYSMICON : SM_CYICON), 0);
|