From f8f64dbeda9bb7dc22954487f55dbd4a82423baf Mon Sep 17 00:00:00 2001 From: upstream svn Date: Fri, 10 Jun 2016 10:57:39 +0000 Subject: [PATCH] fileview: Fix a minor bug that prevented displaying the tag count for src_index.dat --- .svn-revision | 2 +- src/utils/fileview/FileView.cpp | 2 +- src/utils/fileview/KadFiles.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.svn-revision b/.svn-revision index c34b1b46..18c30621 100644 --- a/.svn-revision +++ b/.svn-revision @@ -1 +1 @@ -10933 +10934 diff --git a/src/utils/fileview/FileView.cpp b/src/utils/fileview/FileView.cpp index 2b7b1813..7443f49b 100644 --- a/src/utils/fileview/FileView.cpp +++ b/src/utils/fileview/FileView.cpp @@ -33,7 +33,7 @@ #define VERSION_MAJOR 0 #define VERSION_MINOR 10 -#define VERSION_MICRO 0 +#define VERSION_MICRO 1 class CFileView : public wxApp { diff --git a/src/utils/fileview/KadFiles.cpp b/src/utils/fileview/KadFiles.cpp index d02daa33..a2ded249 100644 --- a/src/utils/fileview/KadFiles.cpp +++ b/src/utils/fileview/KadFiles.cpp @@ -157,7 +157,7 @@ void DecodeSourceIndexDat(const CFileDataIO& file) cout << "\n\t\tnumName : " << (numName = file.ReadUInt32()) << '\n'; for (uint32_t iN = 0; iN < numName; iN++) { cout << "\t\t\tLifeTime: " << CTimeT(file.ReadUInt32()); - cout << "\n\t\t\ttagCount: " << (tagCount = file.ReadUInt8()) << '\n'; + cout << "\n\t\t\ttagCount: " << static_cast(tagCount = file.ReadUInt8()) << '\n'; for (uint32_t it = 0; it < tagCount; it++) { CTag *tag = file.ReadTag(); cout << "\t\t\t\t" << *tag << '\n'; -- 2.11.4.GIT