From 6454d68abc2180a33aa4359c0ed3906519083c7e Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Sat, 1 Jul 2017 20:08:26 -1000 Subject: [PATCH] Windows Fixes --- include/nod/DiscBase.hpp | 2 +- lib/DiscBase.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/nod/DiscBase.hpp b/include/nod/DiscBase.hpp index aa5f1f2..f1d7711 100644 --- a/include/nod/DiscBase.hpp +++ b/include/nod/DiscBase.hpp @@ -30,7 +30,7 @@ enum class PartitionKind : uint32_t Update, Channel }; -const char* getKindString(PartitionKind kind); +const SystemChar* getKindString(PartitionKind kind); class FSTNode { diff --git a/lib/DiscBase.cpp b/lib/DiscBase.cpp index 66404a3..07d7819 100644 --- a/lib/DiscBase.cpp +++ b/lib/DiscBase.cpp @@ -38,16 +38,16 @@ static void* memmem(const void *haystack, size_t hlen, const void *needle, size_ namespace nod { -const char* getKindString(PartitionKind kind) +const SystemChar* getKindString(PartitionKind kind) { switch (kind) { case PartitionKind::Data: - return "DATA"; + return _S("DATA"); case PartitionKind::Update: - return "UPDATE"; + return _S("UPDATE"); case PartitionKind::Channel: - return "CHANNEL"; + return _S("CHANNEL"); default: return nullptr; }