summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/dvisvgm-0.8.7/src/MetafontWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-0.8.7/src/MetafontWrapper.cpp')
-rw-r--r--Build/source/texk/dvisvgm/dvisvgm-0.8.7/src/MetafontWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-0.8.7/src/MetafontWrapper.cpp b/Build/source/texk/dvisvgm/dvisvgm-0.8.7/src/MetafontWrapper.cpp
index f551b640ef1..1f9f7c314f0 100644
--- a/Build/source/texk/dvisvgm/dvisvgm-0.8.7/src/MetafontWrapper.cpp
+++ b/Build/source/texk/dvisvgm/dvisvgm-0.8.7/src/MetafontWrapper.cpp
@@ -55,7 +55,7 @@ static int execute (const char *cmd, const char *params) {
string cmdline = string("\"")+cmd+"\" "+params;
CreateProcess(NULL, (LPSTR)cmdline.c_str(), NULL, NULL, true, 0, NULL, NULL, &si, &pi);
WaitForSingleObject(pi.hProcess, INFINITE);
- DWORD exitcode = -1;
+ DWORD exitcode = (DWORD)-1;
GetExitCodeProcess(pi.hProcess, &exitcode);
CloseHandle(devnull);
return exitcode;