summaryrefslogtreecommitdiff
path: root/src/w32menu.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2012-07-21 22:26:25 +0300
committerEli Zaretskii <eliz@gnu.org>2012-07-21 22:26:25 +0300
commit37a9eac80c07eec4f17917433bc8c406e812e394 (patch)
tree40e833869982edfc721124c35debe94e43c3a4e7 /src/w32menu.c
parent1ada2e55c700e8971a759241c0935060542c8179 (diff)
downloademacs-37a9eac80c07eec4f17917433bc8c406e812e394.tar.gz
emacs-37a9eac80c07eec4f17917433bc8c406e812e394.tar.bz2
emacs-37a9eac80c07eec4f17917433bc8c406e812e394.zip
Fix previous change in w32menu.c.
Diffstat (limited to 'src/w32menu.c')
-rw-r--r--src/w32menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32menu.c b/src/w32menu.c
index a5f4c3881b5..871baedd0d3 100644
--- a/src/w32menu.c
+++ b/src/w32menu.c
@@ -1536,10 +1536,10 @@ add_menu_item (HMENU menu, widget_value *wv, HMENU item)
{
/* As of Jul-2012, w32api headers say that dwItemData
has DWORD type, but that's a bug: it should actually
- be UINT_PTR, which is correct for 32-bit and 64-bit
+ be ULONG_PTR, which is correct for 32-bit and 64-bit
Windows alike. MSVC headers get it right; hopefully,
MinGW headers will, too. */
- info.dwItemData = (UINT_PTR) XLI (wv->help);
+ info.dwItemData = (ULONG_PTR) XLI (wv->help);
}
if (wv->button_type == BUTTON_TYPE_RADIO)
{