aboutsummaryrefslogtreecommitdiff
path: root/lib/lzma
diff options
context:
space:
mode:
authorSimon Glass2022-01-23 12:55:14 -0700
committerTom Rini2022-02-03 15:53:28 -0500
commit5b9a5b2b966bf738ca4115a9dca52d0dc9f2710d (patch)
tree86ff5fbee12f43f7d700d130c92009aef12fc185 /lib/lzma
parent156ccbc3c4581a1e6d29c51f4af4e120e30a2ef0 (diff)
treewide: Use 16-bit Unicode strings
At present we use wide characters for Unicode but this is not necessary. Change the code to use the 'u' literal instead. This helps to fix build warnings for sandbox on the Raspberry Pi. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib/lzma')
-rw-r--r--lib/lzma/Types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lzma/Types.h b/lib/lzma/Types.h
index 8afcba556eb..04f894a8ca9 100644
--- a/lib/lzma/Types.h
+++ b/lib/lzma/Types.h
@@ -225,9 +225,9 @@ typedef struct
#else
#define CHAR_PATH_SEPARATOR '/'
-#define WCHAR_PATH_SEPARATOR L'/'
+#define WCHAR_PATH_SEPARATOR u'/'
#define STRING_PATH_SEPARATOR "/"
-#define WSTRING_PATH_SEPARATOR L"/"
+#define WSTRING_PATH_SEPARATOR u"/"
#endif