summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2012-02-15 19:02:18 +0000
committerJohan Engelen <goejendaagh@zonnet.nl>2012-02-15 19:02:18 +0000
commit693475db87ecab9b8df1b84dd5b45bb9abfba656 (patch)
treef1f88589a69970f64d2447515517830d061124a9 /src
parentDon' t use convex hull for snapping a large selection if "only snap closest n... (diff)
downloadinkscape-693475db87ecab9b8df1b84dd5b45bb9abfba656.tar.gz
inkscape-693475db87ecab9b8df1b84dd5b45bb9abfba656.zip
fix build some more...
(bzr r10985)
Diffstat (limited to 'src')
-rw-r--r--src/color-profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp
index 141de921d..c4855543c 100644
--- a/src/color-profile.cpp
+++ b/src/color-profile.cpp
@@ -819,7 +819,7 @@ std::vector<Glib::ustring> ColorProfile::getBaseProfileDirs() {
#ifdef WIN32
wchar_t pathBuf[MAX_PATH + 1];
pathBuf[0] = 0;
- cmsUInt32Number pathSize = sizeof(pathBuf);
+ DWORD pathSize = sizeof(pathBuf);
g_assert(sizeof(wchar_t) == sizeof(gunichar2));
if ( GetColorDirectoryW( NULL, pathBuf, &pathSize ) ) {
gchar * utf8Path = g_utf16_to_utf8( (gunichar2*)(&pathBuf[0]), -1, NULL, NULL, NULL );