diff --git a/TextEditor.h b/TextEditor.h index 19ad61bd..1fd00e03 100644 --- a/TextEditor.h +++ b/TextEditor.h @@ -43,7 +43,7 @@ class IMGUI_API TextEditor inline bool IsShowLineNumbersEnabled() const { return mShowLineNumbers; } inline void SetShortTabsEnabled(bool aValue) { mShortTabs = aValue; } inline bool IsShortTabsEnabled() const { return mShortTabs; } - inline int GetLineCount() const { return mLines.size(); } + inline size_t GetLineCount() const { return mLines.size(); } void SetPalette(PaletteId aValue); PaletteId GetPalette() const { return mPaletteId; } void SetLanguageDefinition(LanguageDefinitionId aValue);