From 0d508e3e10cc073b041dc5148c796aee8c1e3928 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 17 Feb 2001 07:57:43 +0000 Subject: Defining sptr_t and uptr_t to be integral types large enough to contain pointers to allow portability to 64 bit platforms. --- src/Editor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index 4e1ffc782..81806ba77 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -308,11 +308,11 @@ protected: // ScintillaBase subclass needs access to much of Editor void ToggleContraction(int line); void EnsureLineVisible(int line); - virtual long DefWndProc(unsigned int iMessage, unsigned long wParam, long lParam) = 0; + virtual sptr_t DefWndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) = 0; public: // Public so scintilla_send_message can use it - virtual long WndProc(unsigned int iMessage, unsigned long wParam, long lParam); + virtual sptr_t WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam); // Public so scintilla_set_id can use it int ctrlID; }; -- cgit v1.2.3