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,
|
Update,
|
||||||
Channel
|
Channel
|
||||||
};
|
};
|
||||||
const char* getKindString(PartitionKind kind);
|
const SystemChar* getKindString(PartitionKind kind);
|
||||||
|
|
||||||
class FSTNode
|
class FSTNode
|
||||||
{
|
{
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue