summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/pdfinput/pdf-input.cpp
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2012-12-26 17:14:16 +0000
committerJazzyNico <nicoduf@yahoo.fr>2012-12-26 17:14:16 +0000
commitf1865ade3ac1287dfc91073941bc3c27ea5321aa (patch)
treea566fff2a161abe19cecb0bc17e1191585ce2188 /src/extension/internal/pdfinput/pdf-input.cpp
parentruler: (GIMP merge) Add track_widget API and fix GTK+ 3 build failure in colo... (diff)
downloadinkscape-f1865ade3ac1287dfc91073941bc3c27ea5321aa.tar.gz
inkscape-f1865ade3ac1287dfc91073941bc3c27ea5321aa.zip
Win32. Fixing invalid cast (introduced rev.11986).
(bzr r11989)
Diffstat (limited to 'src/extension/internal/pdfinput/pdf-input.cpp')
-rw-r--r--src/extension/internal/pdfinput/pdf-input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/internal/pdfinput/pdf-input.cpp b/src/extension/internal/pdfinput/pdf-input.cpp
index 2c66c0daf..90d53c6b0 100644
--- a/src/extension/internal/pdfinput/pdf-input.cpp
+++ b/src/extension/internal/pdfinput/pdf-input.cpp
@@ -603,7 +603,7 @@ PdfInput::open(::Inkscape::Extension::Input * /*mod*/, const gchar * uri) {
PDFDoc *pdf_doc = new PDFDoc(filename_goo, NULL, NULL, NULL); // TODO: Could ask for password
//delete filename_goo;
#else
- wchar_t *wfilename = static_cast<wchar_t*>(g_utf8_to_utf16 (uri, -1, NULL, NULL, NULL));
+ wchar_t *wfilename = reinterpret_cast<wchar_t*>(g_utf8_to_utf16 (uri, -1, NULL, NULL, NULL));
if (wfilename == NULL) {
return NULL;