diff options
Diffstat (limited to 'src/myspell/csutil.cxx')
-rw-r--r-- | src/myspell/csutil.cxx | 2 |
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 { |