From 0934c9d92d03b9af0e4cebeaa0942ad89e7cc04b Mon Sep 17 00:00:00 2001 From: Steve Hay Date: Mon, 25 Feb 2008 17:42:38 +0000 Subject: Silence Borland compiler warnings (except for warnings from zlib) here: http://www.nntp.perl.org/group/perl.daily-build.reports/2008/02/msg53937.html p4raw-id: //depot/perl@33370 --- win32/win32.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'win32/win32.c') diff --git a/win32/win32.c b/win32/win32.c index f8e98b9d57..5b701e93f0 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -1639,7 +1639,7 @@ win32_longpath(char *path) } static void -out_of_memory() +out_of_memory(void) { if (PL_curinterp) { dTHX; @@ -2553,7 +2553,7 @@ win32_stdin(void) } DllExport FILE * -win32_stdout() +win32_stdout(void) { return (stdout); } @@ -2935,7 +2935,7 @@ win32_fstat(int fd, Stat_t *sbufptr) if (GetFileInformationByHandle((HANDLE)_get_osfhandle(fd), &bhfi)) { #if defined(WIN64) || defined(USE_LARGE_FILES) - sbufptr->st_size = (bhfi.nFileSizeHigh << 32) + bhfi.nFileSizeLow ; + sbufptr->st_size = ((__int64)bhfi.nFileSizeHigh << 32) | bhfi.nFileSizeLow ; #endif sbufptr->st_mode &= 0xFE00; if (bhfi.dwFileAttributes & FILE_ATTRIBUTE_READONLY) @@ -4942,7 +4942,7 @@ win32_process_message(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) } void -win32_create_message_window_class() +win32_create_message_window_class(void) { /* create the window class for "message only" windows */ WNDCLASS wc; @@ -4958,7 +4958,7 @@ win32_create_message_window_class() } HWND -win32_create_message_window() +win32_create_message_window(void) { HWND hwnd = NULL; -- cgit v1.2.1