summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2008-02-25 17:42:38 +0000
committerSteve Hay <SteveHay@planit.com>2008-02-25 17:42:38 +0000
commit0934c9d92d03b9af0e4cebeaa0942ad89e7cc04b (patch)
tree00d50ab3dd5df478121b7a73bff04b637f3506c1 /win32/win32.c
parentc427f4d2d4575fbc8a5190932fe321136c7597b3 (diff)
downloadperl-0934c9d92d03b9af0e4cebeaa0942ad89e7cc04b.tar.gz
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
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c10
1 files changed, 5 insertions, 5 deletions
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;