diff options
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-1.0.1-PATCHES/patch-30-WIN32-warning')
-rw-r--r-- | Build/source/texk/dvisvgm/dvisvgm-1.0.1-PATCHES/patch-30-WIN32-warning | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.0.1-PATCHES/patch-30-WIN32-warning b/Build/source/texk/dvisvgm/dvisvgm-1.0.1-PATCHES/patch-30-WIN32-warning new file mode 100644 index 00000000000..ad436f81bbc --- /dev/null +++ b/Build/source/texk/dvisvgm/dvisvgm-1.0.1-PATCHES/patch-30-WIN32-warning @@ -0,0 +1,14 @@ + Avoid compiler warning. + +diff -ur dvisvgm-1.0.1.orig/src/MetafontWrapper.cpp dvisvgm-1.0.1/src/MetafontWrapper.cpp +--- dvisvgm-1.0.1.orig/src/MetafontWrapper.cpp 2010-06-08 10:40:37.000000000 +0200 ++++ dvisvgm-1.0.1/src/MetafontWrapper.cpp 2010-06-12 21:34:50.868358077 +0200 +@@ -55,7 +55,7 @@ + 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; |