diff options
author | ivan <ivan@13f79535-47bb-0310-9956-ffa450edef68> | 2022-07-09 11:44:12 +0000 |
---|---|---|
committer | ivan <ivan@13f79535-47bb-0310-9956-ffa450edef68> | 2022-07-09 11:44:12 +0000 |
commit | 6543a7d7e83a56cf25074e082d542606185c8ecc (patch) | |
tree | 2883d2012964f280056768ef903190f55e7bd47a | |
parent | 29ec70408a1d48ac1ef27730daf383aa03c17a36 (diff) | |
download | libapr-6543a7d7e83a56cf25074e082d542606185c8ecc.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." /* ^ ^ ^ |