diff options
author | Ivan Zhakov <ivan@apache.org> | 2022-07-09 11:44:12 +0000 |
---|---|---|
committer | Ivan Zhakov <ivan@apache.org> | 2022-07-09 11:44:12 +0000 |
commit | 9e9aa8e3290ceb1266b30c7c3a66cd28885ebc31 (patch) | |
tree | 2883d2012964f280056768ef903190f55e7bd47a | |
parent | 835e807a0c1be000dae20bed9a2517d1a5315390 (diff) | |
download | apr-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.c | 2 |
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." /* ^ ^ ^ |