diff options
| author | Neil <nyamatongwe@gmail.com> | 2013-07-21 16:24:00 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2013-07-21 16:24:00 +1000 |
| commit | 8fc4709755b0c451d0e720881cad4bb0eb08b492 (patch) | |
| tree | 65a8aee1f5df53d9af71f693e4d0cd766485986b /cocoa/ScintillaView.mm | |
| parent | 6a46b9acdce4362a6af8f206e1c6ae525e347f0f (diff) | |
| download | scintilla-mirror-8fc4709755b0c451d0e720881cad4bb0eb08b492.tar.gz | |
Fix Clang C++11 compatibility.
Diffstat (limited to 'cocoa/ScintillaView.mm')
| -rw-r--r-- | cocoa/ScintillaView.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index 692ff3b5a..28b7914d5 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -1157,7 +1157,7 @@ static void notification(intptr_t windowid, unsigned int iMessage, uintptr_t wPa // Horizontal offset of the content. Almost always 0 unless the vertical scroller // is on the left side. - int contentX = 0; + CGFloat contentX = 0; NSRect scrollRect = {contentX, 0, size.width, size.height}; // Info bar frame. |
