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,
Channel
};
const char* getKindString(PartitionKind kind);
const SystemChar* getKindString(PartitionKind kind);
class FSTNode
{

View File

@ -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;
}