mirror of
https://github.com/rt64/rt64.git
synced 2024-12-26 03:15:44 +00:00
Fixed windows clang warnings
This commit is contained in:
parent
eb981eb47b
commit
1c33a5ff42
@ -27,7 +27,7 @@ namespace RT64 {
|
||||
struct D3D12Texture;
|
||||
|
||||
struct D3D12DescriptorHeapAllocator {
|
||||
enum {
|
||||
enum : uint32_t {
|
||||
INVALID_OFFSET = 0xFFFFFFFFU
|
||||
};
|
||||
|
||||
|
@ -55,6 +55,7 @@ int main(int argc, const char** argv) {
|
||||
// Write the C file with the array
|
||||
{
|
||||
std::ofstream output_c_file{output_c_path};
|
||||
output_c_file << "extern const char " << array_name << "[" << contents.size() << "];\n";
|
||||
output_c_file << "const char " << array_name << "[" << contents.size() << "] = {";
|
||||
|
||||
for (char x : contents) {
|
||||
|
Loading…
Reference in New Issue
Block a user