summaryrefslogtreecommitdiff
path: root/win32/perlhost.h
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2006-01-04 11:10:36 +0000
committerSteve Hay <SteveHay@planit.com>2006-01-04 11:10:36 +0000
commit777c9af2106eb77e4a681db698068dc0e4785155 (patch)
treecebd7f08d438d98903d051d7e1e3fb87f6c5d822 /win32/perlhost.h
parent65177ae03b6e3dca16f8e50a1c780e8d35a1df2a (diff)
downloadperl-777c9af2106eb77e4a681db698068dc0e4785155.tar.gz
Make Borland and MinGW happy with change 26379
(They both complain "invalid conversion from `void*' to `HWND__*'" otherwise) p4raw-id: //depot/perl@26637
Diffstat (limited to 'win32/perlhost.h')
-rw-r--r--win32/perlhost.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/perlhost.h b/win32/perlhost.h
index e2227e358f..ff90ca90da 100644
--- a/win32/perlhost.h
+++ b/win32/perlhost.h
@@ -1837,7 +1837,7 @@ PerlProcFork(struct IPerlProc* piPerl)
w32_message_hwnd = win32_create_message_window();
new_perl->Isys_intern.message_hwnd = w32_message_hwnd;
w32_pseudo_child_message_hwnds[w32_num_pseudo_children] =
- (w32_message_hwnd == NULL) ? NULL : INVALID_HANDLE_VALUE;
+ (w32_message_hwnd == NULL) ? (HWND)NULL : (HWND)INVALID_HANDLE_VALUE;
# ifdef USE_RTL_THREAD_API
handle = (HANDLE)_beginthreadex((void*)NULL, 0, win32_start_child,
(void*)new_perl, 0, (unsigned*)&id);