mirror of https://github.com/AxioDL/nod.git
Windows Fixes
This commit is contained in:
parent
2a472651ae
commit
6454d68abc
|
@ -30,7 +30,7 @@ enum class PartitionKind : uint32_t
|
|||
Update,
|
||||
Channel
|
||||
};
|
||||
const char* getKindString(PartitionKind kind);
|
||||
const SystemChar* getKindString(PartitionKind kind);
|
||||
|
||||
class FSTNode
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue