fix: win: fix the last warns

This commit is contained in:
Stéphane Lesimple
2021-01-22 21:59:34 +01:00
parent 9916ce74bc
commit fef782b246
4 changed files with 5 additions and 5 deletions

View File

@@ -806,7 +806,7 @@ static gpointer io_thread(ecc_closure *ec)
/*** Allocate local parity buffer aligned at 128bit boundary */
ec->paritybase = g_malloc(n_parity_bytes+16); /* output buffer */
ec->parity = ec->paritybase + (16- ((unsigned long)ec->paritybase & 15));
ec->parity = ec->paritybase + (16- ((intptr_t)ec->paritybase & 15));
/*** Create buffer for the ndata input layers
Space is provided for one more sector so that