mirror of
https://github.com/corda/corda.git
synced 2025-01-04 04:04:27 +00:00
fix unsigned->size_t build regression
This commit is contained in:
parent
3b9089e265
commit
1127cb6452
@ -27,8 +27,8 @@ namespace vm {
|
||||
uint8_t* encodeLZMA(System* s,
|
||||
avian::util::Alloc* a,
|
||||
uint8_t* in,
|
||||
unsigned inSize,
|
||||
unsigned* outSize)
|
||||
size_t inSize,
|
||||
size_t* outSize)
|
||||
{
|
||||
const unsigned PropHeaderSize = 5;
|
||||
const unsigned HeaderSize = 13;
|
||||
|
@ -1852,7 +1852,7 @@ void writeBootImage2(Thread* t,
|
||||
}
|
||||
|
||||
uint8_t* bootimage;
|
||||
unsigned bootimageLength;
|
||||
size_t bootimageLength;
|
||||
if (useLZMA) {
|
||||
#ifdef AVIAN_USE_LZMA
|
||||
bootimage = encodeLZMA(t->m->system,
|
||||
@ -1861,7 +1861,7 @@ void writeBootImage2(Thread* t,
|
||||
bootimageData.length,
|
||||
&bootimageLength);
|
||||
|
||||
fprintf(stderr, "compressed heap size %d\n", bootimageLength);
|
||||
fprintf(stderr, "compressed heap size %zu\n", bootimageLength);
|
||||
#else
|
||||
abort(t);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user