commit eb957f15e037f865805bf4b4ed51ef2526891602
Author: Stephan Witt <[email protected]>
Date:   Fri Oct 24 16:28:40 2025 +0200

    Fix compiler error on mac after change 97008f3721.
---
 src/AppleSpellChecker.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/AppleSpellChecker.cpp b/src/AppleSpellChecker.cpp
index 0a82d38b32..843753f966 100644
--- a/src/AppleSpellChecker.cpp
+++ b/src/AppleSpellChecker.cpp
@@ -197,9 +197,11 @@ int AppleSpellChecker::numMisspelledWords() const
 }
 
 
-void AppleSpellChecker::misspelledWord(int index, int & start, int & length) 
const
+void AppleSpellChecker::misspelledWord(int index, pos_type & start, int & 
length) const
 {
-       AppleSpeller_misspelledWord(d->speller, index, &start, &length);
+       int start_ = start;
+       AppleSpeller_misspelledWord(d->speller, index, &start_, &length);
+       start = (pos_type)start_;
 }
 
 
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to