summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Zhakov <ivan@apache.org>2022-07-09 11:44:12 +0000
committerIvan Zhakov <ivan@apache.org>2022-07-09 11:44:12 +0000
commit9e9aa8e3290ceb1266b30c7c3a66cd28885ebc31 (patch)
tree2883d2012964f280056768ef903190f55e7bd47a
parent835e807a0c1be000dae20bed9a2517d1a5315390 (diff)
downloadapr-9e9aa8e3290ceb1266b30c7c3a66cd28885ebc31.tar.gz
* file_io/win32/pipe.c: Use unsigned char instead of char for random buffer.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902600 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--file_io/win32/pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file_io/win32/pipe.c b/file_io/win32/pipe.c
index 3da361cb2..7dafb2f54 100644
--- a/file_io/win32/pipe.c
+++ b/file_io/win32/pipe.c
@@ -110,7 +110,7 @@ static apr_status_t file_pipe_create(apr_file_t **in,
#endif
if (apr_os_level >= APR_WIN_NT) {
apr_status_t rv;
- char rand[8];
+ unsigned char rand[8];
int pid = getpid();
#define FMT_PIPE_NAME "\\\\.\\pipe\\apr-pipe-%x.%lx."
/* ^ ^ ^