diff options
author | Neil <nyamatongwe@gmail.com> | 2020-03-27 09:16:06 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-03-27 09:16:06 +1100 |
commit | 30748b957f1fbce6c79c7ac48e8b377cd6c7fd5a (patch) | |
tree | f63b654633f26805744fe1a1f1dd7bbb674ab6b1 /lexlib/PropSetSimple.h | |
parent | 6788d9d6d53438b92bbed78b4cb3d3ad9c581ae2 (diff) | |
download | scintilla-mirror-30748b957f1fbce6c79c7ac48e8b377cd6c7fd5a.tar.gz |
Avoid casts by returning size_t from GetExpanded.
Diffstat (limited to 'lexlib/PropSetSimple.h')
-rw-r--r-- | lexlib/PropSetSimple.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/PropSetSimple.h b/lexlib/PropSetSimple.h index ba4e42446..d4a5b2243 100644 --- a/lexlib/PropSetSimple.h +++ b/lexlib/PropSetSimple.h @@ -19,7 +19,7 @@ public: void Set(const char *key, const char *val, size_t lenKey, size_t lenVal); void SetMultiple(const char *); const char *Get(const char *key) const; - int GetExpanded(const char *key, char *result) const; + size_t GetExpanded(const char *key, char *result) const; int GetInt(const char *key, int defaultValue=0) const; }; |