mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +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,
|
uint8_t* encodeLZMA(System* s,
|
||||||
avian::util::Alloc* a,
|
avian::util::Alloc* a,
|
||||||
uint8_t* in,
|
uint8_t* in,
|
||||||
unsigned inSize,
|
size_t inSize,
|
||||||
unsigned* outSize)
|
size_t* outSize)
|
||||||
{
|
{
|
||||||
const unsigned PropHeaderSize = 5;
|
const unsigned PropHeaderSize = 5;
|
||||||
const unsigned HeaderSize = 13;
|
const unsigned HeaderSize = 13;
|
||||||
|
@ -1852,7 +1852,7 @@ void writeBootImage2(Thread* t,
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint8_t* bootimage;
|
uint8_t* bootimage;
|
||||||
unsigned bootimageLength;
|
size_t bootimageLength;
|
||||||
if (useLZMA) {
|
if (useLZMA) {
|
||||||
#ifdef AVIAN_USE_LZMA
|
#ifdef AVIAN_USE_LZMA
|
||||||
bootimage = encodeLZMA(t->m->system,
|
bootimage = encodeLZMA(t->m->system,
|
||||||
@ -1861,7 +1861,7 @@ void writeBootImage2(Thread* t,
|
|||||||
bootimageData.length,
|
bootimageData.length,
|
||||||
&bootimageLength);
|
&bootimageLength);
|
||||||
|
|
||||||
fprintf(stderr, "compressed heap size %d\n", bootimageLength);
|
fprintf(stderr, "compressed heap size %zu\n", bootimageLength);
|
||||||
#else
|
#else
|
||||||
abort(t);
|
abort(t);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user