Windows Fixes

This commit is contained in:
Jack Andersen 2017-07-01 20:08:26 -10:00
parent 2a472651ae
commit 6454d68abc
2 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ enum class PartitionKind : uint32_t
Update, Update,
Channel Channel
}; };
const char* getKindString(PartitionKind kind); const SystemChar* getKindString(PartitionKind kind);
class FSTNode class FSTNode
{ {

View File

@ -38,16 +38,16 @@ static void* memmem(const void *haystack, size_t hlen, const void *needle, size_
namespace nod namespace nod
{ {
const char* getKindString(PartitionKind kind) const SystemChar* getKindString(PartitionKind kind)
{ {
switch (kind) switch (kind)
{ {
case PartitionKind::Data: case PartitionKind::Data:
return "DATA"; return _S("DATA");
case PartitionKind::Update: case PartitionKind::Update:
return "UPDATE"; return _S("UPDATE");
case PartitionKind::Channel: case PartitionKind::Channel:
return "CHANNEL"; return _S("CHANNEL");
default: default:
return nullptr; return nullptr;
} }