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

@@ -48,7 +48,7 @@ AlignedBuffer* CreateAlignedBuffer(int size)
{ AlignedBuffer *ab = g_malloc0(sizeof(AlignedBuffer));
ab->base = g_malloc(size+4096);
ab->buf = ab->base + (4096 - ((unsigned long)ab->base & 4095));
ab->buf = ab->base + (4096 - ((intptr_t)ab->base & 4095));
return ab;
}