diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2015-06-15 03:00:00 +0300 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:16:54 +0300 |
commit | 54490d51d5c6b0d794dcbad2d634d4c95fc25b6c (patch) | |
tree | c3c413656432c0ef87b2841c80e42b55ad17d4e8 /CPP/Windows/PropVariantUtils.cpp | |
parent | 0713a3ab803e57401f18432148b4139e5fe6e5dd (diff) |
15.0515.05
Diffstat (limited to 'CPP/Windows/PropVariantUtils.cpp')
-rw-r--r-- | CPP/Windows/PropVariantUtils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CPP/Windows/PropVariantUtils.cpp b/CPP/Windows/PropVariantUtils.cpp index 92b355a4..5ffe7121 100644 --- a/CPP/Windows/PropVariantUtils.cpp +++ b/CPP/Windows/PropVariantUtils.cpp @@ -37,20 +37,20 @@ void PairToProp(const CUInt32PCharPair *pairs, unsigned num, UInt32 value, NCOM: } -AString TypeToString(const char *table[], unsigned num, UInt32 value) +AString TypeToString(const char * const table[], unsigned num, UInt32 value) { if (value < num) return table[value]; return GetHex(value); } -void TypeToProp(const char *table[], unsigned num, UInt32 value, NCOM::CPropVariant &prop) +void TypeToProp(const char * const table[], unsigned num, UInt32 value, NCOM::CPropVariant &prop) { prop = TypeToString(table, num, value); } -AString FlagsToString(const char **names, unsigned num, UInt32 flags) +AString FlagsToString(const char * const *names, unsigned num, UInt32 flags) { AString s; for (unsigned i = 0; i < num; i++) |