diff options
author | Rob Hughes <robert.hughes@arm.com> | 2019-11-13 11:53:48 +0000 |
---|---|---|
committer | Rob Hughes <robert.hughes@arm.com> | 2019-11-14 10:47:03 +0000 |
commit | 270233fc7c57486026f381cd8ba6a71b84d7be2d (patch) | |
tree | 6e75bee1a1d6042e104e8ea780cf524122c3f990 /src/profiling/DirectoryCaptureCommandHandler.cpp | |
parent | b5b3b35288578154525b38ea708ca564530f0c5d (diff) | |
download | armnn-270233fc7c57486026f381cd8ba6a71b84d7be2d.tar.gz |
Fix a few compile errors:
* Replace use of non-standard integral types (e.g. u_char)
* Convert boost::filesystem::paths to std::strings using the .string()
method rather than .c_str(), because on Windows .c_str() returns a wide
character string, which is not convertible to a std::string.
Change-Id: Ia86b0653697033bb1afa01e64b5b2103dd042ffd
Signed-off-by: Robert Hughes <robert.hughes@arm.com>
Diffstat (limited to 'src/profiling/DirectoryCaptureCommandHandler.cpp')
-rw-r--r-- | src/profiling/DirectoryCaptureCommandHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profiling/DirectoryCaptureCommandHandler.cpp b/src/profiling/DirectoryCaptureCommandHandler.cpp index c5a2d97293..65a7880d50 100644 --- a/src/profiling/DirectoryCaptureCommandHandler.cpp +++ b/src/profiling/DirectoryCaptureCommandHandler.cpp @@ -320,7 +320,7 @@ const ICounterDirectory& DirectoryCaptureCommandHandler::GetCounterDirectory() c std::string DirectoryCaptureCommandHandler::GetStringNameFromBuffer(const unsigned char* const data, uint32_t offset) { std::string deviceName; - u_char nextChar = profiling::ReadUint8(data, offset); + uint8_t nextChar = profiling::ReadUint8(data, offset); while (isprint(nextChar)) { |