diff options
author | Abe Timmerman <abe@ztreet.demon.nl> | 2003-05-02 02:51:42 +0200 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-05-02 18:58:32 +0000 |
commit | f026e7c66ee549e42ac49df55a1a12a3859701c7 (patch) | |
tree | b966bfbc1f07a44e50b587be676fb7d6efe6f281 /win32 | |
parent | f2b6228614233b087f06b57ba81daf10ead663ba (diff) | |
download | perl-f026e7c66ee549e42ac49df55a1a12a3859701c7.tar.gz |
silence compiler warnings
Message-Id: <200305020051.43166.abe@ztreet.demon.nl>
p4raw-id: //depot/perl@19384
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/win32.c b/win32/win32.c index 87665ff372..f3281f39ce 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -3971,7 +3971,7 @@ win32_execvp(const char *cmdname, const char *const *argv) /* if this is a pseudo-forked child, we just want to spawn * the new program, and return */ if (w32_pseudo_id) { - int status = win32_spawnvp(P_WAIT, cmdname, (char *const *)argv); + int status = win32_spawnvp(P_WAIT, cmdname, (const char *const *)argv); if (status != -1) { my_exit(status); return 0; @@ -4429,11 +4429,11 @@ XS(w32_DomainName) /* NERR_Success *is* 0*/ if (0 == pfnNetWkstaGetInfo(NULL, 100, &pwi)) { if (pwi->wki100_langroup && *(pwi->wki100_langroup)) { - WideCharToMultiByte(CP_ACP, NULL, pwi->wki100_langroup, + WideCharToMultiByte(CP_ACP, 0, pwi->wki100_langroup, -1, (LPSTR)dname, dnamelen, NULL, NULL); } else { - WideCharToMultiByte(CP_ACP, NULL, pwi->wki100_computername, + WideCharToMultiByte(CP_ACP, 0, pwi->wki100_computername, -1, (LPSTR)dname, dnamelen, NULL, NULL); } pfnNetApiBufferFree(pwi); |