diff options
author | James Ross-Gowan <rossymiles@gmail.com> | 2014-08-24 20:56:24 +1000 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-24 13:23:09 +0200 |
commit | 67c6335efcf27186d60c17d34824d3320af878f3 (patch) | |
tree | 59686db05f5f9cc3c55185c53c08bf8c4e3f1016 /osdep/terminal-win.c | |
parent | c31a91230d48f4ed35ebd812d83a661f06f401e1 (diff) | |
download | mpv-67c6335efcf27186d60c17d34824d3320af878f3.tar.bz2 mpv-67c6335efcf27186d60c17d34824d3320af878f3.tar.xz |
win32: correct HANDLE type
The correct type is HANDLE, not HANDLE*, though this change shouldn't
affect functionality.
Diffstat (limited to 'osdep/terminal-win.c')
-rw-r--r-- | osdep/terminal-win.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep/terminal-win.c b/osdep/terminal-win.c index 22751b31f8..03730ae736 100644 --- a/osdep/terminal-win.c +++ b/osdep/terminal-win.c @@ -167,7 +167,7 @@ bool terminal_in_background(void) return false; } -static void write_console_text(HANDLE *wstream, char *buf) +static void write_console_text(HANDLE wstream, char *buf) { wchar_t *out = mp_from_utf8(NULL, buf); size_t out_len = wcslen(out); @@ -176,7 +176,7 @@ static void write_console_text(HANDLE *wstream, char *buf) } // Mutates the input argument (buf), because we're evil. -void mp_write_console_ansi(HANDLE *wstream, char *buf) +void mp_write_console_ansi(HANDLE wstream, char *buf) { while (*buf) { char *next = strchr(buf, '\033'); |