summaryrefslogtreecommitdiff
path: root/src/os_win32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-05-05 14:29:06 +0200
committerBram Moolenaar <Bram@vim.org>2018-05-05 14:29:06 +0200
commit9894e394b230723abefc05a1c9a336b05a63088b (patch)
tree9ccb3287014a974ae857cc0bbe31531a3b99af74 /src/os_win32.c
parentc136af29c0b1939076fbae7d36afd90dce740315 (diff)
downloadvim-git-9894e394b230723abefc05a1c9a336b05a63088b.tar.gz
patch 8.0.1791: using uint8_t does not work everywherev8.0.1791
Problem: Using uint8_t does not work everywhere. Solution: Use char_u instead.
Diffstat (limited to 'src/os_win32.c')
-rw-r--r--src/os_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_win32.c b/src/os_win32.c
index c474415c8..a90dc1f79 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -7661,7 +7661,7 @@ vtp_sgr_bulks(
ctermtoxterm(
int cterm)
{
- uint8_t r, g, b, idx;
+ char_u r, g, b, idx;
cterm_color2rgb(cterm, &r, &g, &b, &idx);
return (((int)r << 16) | ((int)g << 8) | (int)b);