summaryrefslogtreecommitdiff
path: root/src/myspell/csutil.cxx
diff options
context:
space:
mode:
authorDom Lachowicz <domlachowicz@gmail.com>2009-04-08 15:47:51 +0000
committerDom Lachowicz <domlachowicz@gmail.com>2009-04-08 15:47:51 +0000
commitc4f954bce8cef70e9e3a13b17bd1b11601540c47 (patch)
treed0aa8c044cee6f9c41803dc9c5870aa9e01ed958 /src/myspell/csutil.cxx
parent23f1ae8f324429bb946e0404009c66e39ac4f3ff (diff)
downloadenchant-c4f954bce8cef70e9e3a13b17bd1b11601540c47.tar.gz
win64 build fixes from Fridrich
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@26058 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
Diffstat (limited to 'src/myspell/csutil.cxx')
-rw-r--r--src/myspell/csutil.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/myspell/csutil.cxx b/src/myspell/csutil.cxx
index e282754..388da00 100644
--- a/src/myspell/csutil.cxx
+++ b/src/myspell/csutil.cxx
@@ -234,7 +234,7 @@ int flag_bsearch(unsigned short flags[], unsigned short flag, int length) {
}
if (dp) {
*stringp = dp+1;
- int nc = (int)((unsigned long)dp - (unsigned long)mp);
+ int nc = (int)((size_t)dp - (size_t)mp);
*(mp+nc) = '\0';
return mp;
} else {