diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-04-20 04:10:22 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-04-20 04:10:22 -0700 |
commit | 3112ef90d63ebd48c3b203fce518f9b8d5900afa (patch) | |
tree | eb139b0e66b56127ff0d679f6c31e058eb1d7f91 | |
parent | 4020cbdc1afb502b1522eec088ce47bc9e7dac0e (diff) | |
download | txr-3112ef90d63ebd48c3b203fce518f9b8d5900afa.tar.gz txr-3112ef90d63ebd48c3b203fce518f9b8d5900afa.tar.bz2 txr-3112ef90d63ebd48c3b203fce518f9b8d5900afa.zip |
lib: missing L prefix in literal.
* lib.h (wli_noex): The first of three literals being
juxtaposed is missing the L prefix, leading to a mixture of
wide and regular literals. This is supported by C, but
let's avoid it.
-rw-r--r-- | lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -428,7 +428,7 @@ typedef struct wli wchli_t; #if LIT_ALIGN < 4 #define wli_noex(lit) (coerce(const wchli_t *,\ convert(const wchar_t *,\ - "\0" L ## lit L"\0" + 1))) + L"\0" L ## lit L"\0" + 1))) #define wini(ini) L"\0" L ## ini L"\0" #define wref(arr) ((arr) + 1) #else |