We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6946d53 commit f2f79e0Copy full SHA for f2f79e0
tools/supported/SegmentedFinder.h
@@ -393,7 +393,7 @@ class Bytestream
393
return false;
394
if(d->length+sizeof(T) >= d->allocated)
395
Allocate((d->length+sizeof(T)) * 2);
396
- (*(T *)(d->object + d->length)) = what;
+ (*(T *)( (uint64_t)d->object + d->length)) = what;
397
d->length += sizeof(T);
398
}
399
Bytestreamdata * d;
tools/supported/autosearch.cpp
@@ -59,6 +59,7 @@ class Token
59
virtual bool AcquireOffset(DFHack::VersionInfo * vinfo)
60
{
61
vinfo->getOffset(full_offset_name);
62
+ return true;
63
64
virtual uint32_t Length() = 0;
65
virtual uint64_t getAbsolute(){if(parent) return parent->getAbsolute() + offset; else return offset;};
0 commit comments