summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-04-12 13:45:36 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-04-12 13:45:36 +0000
commit5170360dc254a103c42adaf651c36709bba60301 (patch)
tree8958840d442ea78d74a80152b33c65d737af45d0 /include
parent24c5fb7971b1b35dc1c139289454cd270f46d535 (diff)
downloadlibapr-5170360dc254a103c42adaf651c36709bba60301.tar.gz
Snap unicode into unsigned format for win32 internals
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61506 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/arch/unix/i18n.h2
-rw-r--r--include/arch/win32/fileio.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/arch/unix/i18n.h b/include/arch/unix/i18n.h
index 9b3274649..728ff23b1 100644
--- a/include/arch/unix/i18n.h
+++ b/include/arch/unix/i18n.h
@@ -60,7 +60,7 @@
/* If we ever support anything more exciting than char... this could move.
*/
-typedef apr_int16_t apr_wchar_t;
+typedef apr_uint16_t apr_wchar_t;
/**
* An APR internal function for fast utf-8 octet-encoded Unicode conversion
diff --git a/include/arch/win32/fileio.h b/include/arch/win32/fileio.h
index 507fb3c8d..fd10f56c9 100644
--- a/include/arch/win32/fileio.h
+++ b/include/arch/win32/fileio.h
@@ -89,7 +89,7 @@
#include "i18n.h"
#include <wchar.h>
-typedef apr_int16_t apr_wchar_t;
+typedef apr_uint16_t apr_wchar_t;
apr_status_t utf8_to_unicode_path(apr_wchar_t* dststr, apr_size_t dstchars,
const char* srcstr);