summaryrefslogtreecommitdiffstats
path: root/win/tclWinPanic.c
diff options
context:
space:
mode:
Diffstat (limited to 'win/tclWinPanic.c')
-rw-r--r--win/tclWinPanic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinPanic.c b/win/tclWinPanic.c
index a71f506..5c6e02d 100644
--- a/win/tclWinPanic.c
+++ b/win/tclWinPanic.c
@@ -58,7 +58,7 @@ Tcl_ConsolePanic(
} else if (_isatty(2)) {
WriteConsoleW(handle, msgString, wcslen(msgString), &dummy, 0);
} else {
- buf[0] = 0xEF; buf[1] = 0xBB; buf[2] = 0xBF; /* UTF-8 bom */
+ buf[0] = '\xEF'; buf[1] = '\xBB'; buf[2] = '\xBF'; /* UTF-8 bom */
WriteFile(handle, buf, strlen(buf), &dummy, 0);
WriteFile(handle, "\n", 1, &dummy, 0);
FlushFileBuffers(handle);