diff options
author | Steve Hay <SteveHay@planit.com> | 2006-01-04 11:10:36 +0000 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2006-01-04 11:10:36 +0000 |
commit | 777c9af2106eb77e4a681db698068dc0e4785155 (patch) | |
tree | cebd7f08d438d98903d051d7e1e3fb87f6c5d822 /win32 | |
parent | 65177ae03b6e3dca16f8e50a1c780e8d35a1df2a (diff) | |
download | perl-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')
-rw-r--r-- | win32/perlhost.h | 2 |
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); |