Change 26637 by [EMAIL PROTECTED] on 2006/01/04 11:10:36

        Make Borland and MinGW happy with change 26379
        
        (They both complain "invalid conversion from `void*' to `HWND__*'"
        otherwise)

Affected files ...

... //depot/perl/win32/perlhost.h#65 edit

Differences ...

==== //depot/perl/win32/perlhost.h#65 (text) ====
Index: perl/win32/perlhost.h
--- perl/win32/perlhost.h#64~26379~     2005-12-16 13:13:37.000000000 -0800
+++ perl/win32/perlhost.h       2006-01-04 03:10:36.000000000 -0800
@@ -1837,7 +1837,7 @@
         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);
End of Patch.

Reply via email to