Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2019-09-12 20:24:45 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2019-09-12 20:24:45 +0300
commit79b898d1fc88f8d966475ed8faa70ace9bde52da (patch)
tree3a83223ec776050d637ee95399cdb10df5a00bb2 /programs
parentd8c2994a7786537c6db997ae5dd575a949f92baa (diff)
Misc CI build fixes.
Diffstat (limited to 'programs')
-rw-r--r--programs/illegal-codepoints/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/programs/illegal-codepoints/main.cpp b/programs/illegal-codepoints/main.cpp
index 3b65ccc8..d00130d5 100644
--- a/programs/illegal-codepoints/main.cpp
+++ b/programs/illegal-codepoints/main.cpp
@@ -6119,7 +6119,8 @@ int main()
static std::wstring_convert<std::codecvt_utf8_utf16<char16_t>,char16_t> convert;
ret.append(convert.to_bytes((char16_t) v));
#else
- ret.append((char) v);
+ char _v = (char) v;
+ ret.append(&_v, 1);
#endif
ret.append("'");
return ret;