File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ struct EndHeader {
4646 // Set padding to place End Header in right position
4747 padding[startheader.relativeOffsetEndHeader];
4848 // Mark link to meta block
49- u8 linkToMetaBlock [[color("FF0000")]];
49+ u8 linkToMetaBlock [[color("FF0000"), no_unique_address ]];
5050 // Mark all End Header
5151 char fullEndHeader[startheader.theLengthOfEndHeader] [[color("63954A")]];
5252 // Detect LZMA signature
Original file line number Diff line number Diff line change 22#pragma description Minecraft NBT
33
44import std.sys;
5+ import std.mem;
56
67#pragma endian big
78
@@ -73,7 +74,7 @@ struct Element {
7374};
7475
7576struct NBT {
76- Element element[while(true )] [[inline]];
77+ Element element[while(!std::mem::eof() )] [[inline]];
7778};
7879
7980NBT nbt @ 0x00;
You can’t perform that action at this time.
0 commit comments