aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaCocoa.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-03-03 14:17:28 +1100
committerNeil <nyamatongwe@gmail.com>2018-03-03 14:17:28 +1100
commit26537cf9042a01e80b1b6fa750cfb2ecdc46804b (patch)
tree4a361b4407108e050c098c5591f129ba378a8acf /cocoa/ScintillaCocoa.h
parent26a79131bc1d5a7e43dff193ac71b0c998764964 (diff)
downloadscintilla-mirror-26537cf9042a01e80b1b6fa750cfb2ecdc46804b.tar.gz
Promote methods from int to ptrdiff_t to allow extension to 64-bits.
Diffstat (limited to 'cocoa/ScintillaCocoa.h')
-rw-r--r--cocoa/ScintillaCocoa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cocoa/ScintillaCocoa.h b/cocoa/ScintillaCocoa.h
index 37d46726b..9ef83e8b0 100644
--- a/cocoa/ScintillaCocoa.h
+++ b/cocoa/ScintillaCocoa.h
@@ -107,8 +107,8 @@ private:
bool GetPasteboardData(NSPasteboard *board, SelectionText *selectedText);
void SetPasteboardData(NSPasteboard *board, const SelectionText &selectedText);
- int TargetAsUTF8(char *text);
- int EncodedFromUTF8(char *utf8, char *encoded) const;
+ ptrdiff_t TargetAsUTF8(char *text);
+ ptrdiff_t EncodedFromUTF8(char *utf8, char *encoded) const;
int scrollSpeed;
int scrollTicks;