Re: [PATCH 4/5] RISC-V: Change variable type for 32-bit compatible

From: Zong Li
Date: Thu Jun 21 2018 - 03:13:03 EST


> > - s64 offset = (void *)v - (void *)location;
> > + uintptr_t offset = (void *)v - (void *)location;
>
> s64 is signed, uintptr is not, so this might change behavior and needs
> an explanation.
>

Yes, it should be intptr_t. Thanks!