diff options
author | Simon Tatham <anakin@pobox.com> | 2017-05-28 09:54:05 +0100 |
---|---|---|
committer | Simon Tatham <anakin@pobox.com> | 2017-05-28 09:54:05 +0100 |
commit | fe5eb01f9b84b344bd1d476f409626fd7b4cd5f9 (patch) | |
tree | d378e92065fa90a1cce69eb38b3b3351ea6b3d50 /uchars.c | |
parent | f501b2927d7e4bf6b26c1e348270e6f4a48ffb27 (diff) | |
download | wix-on-linux-fe5eb01f9b84b344bd1d476f409626fd7b4cd5f9.tar.gz wix-on-linux-fe5eb01f9b84b344bd1d476f409626fd7b4cd5f9.tar.bz2 wix-on-linux-fe5eb01f9b84b344bd1d476f409626fd7b4cd5f9.zip |
Add a command-line test program.
At the moment it only tests MsiGetFileVersion, because that's the
piece I just found a problem in, but I could easily extend it to have
convenient command-line test rigs for other parts of this setup too.
Diffstat (limited to 'uchars.c')
-rw-r--r-- | uchars.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ char *ascii(const char16_t *wstr, bool translate_slashes) | |||
16 | return ret; | 16 | return ret; |
17 | } | 17 | } |
18 | 18 | ||
19 | void c16cpy(char16_t *out, uint32_t *outsize, char *s) | 19 | void c16cpy(char16_t *out, uint32_t *outsize, const char *s) |
20 | { | 20 | { |
21 | uint32_t retlen = 0; | 21 | uint32_t retlen = 0; |
22 | while (retlen < *outsize) { | 22 | while (retlen < *outsize) { |