diff --git a/src/box32.c b/src/box32.c index 16b28f69e..c89b05453 100644 --- a/src/box32.c +++ b/src/box32.c @@ -170,7 +170,7 @@ void to_struct_locale(ptr_t d, const struct_locale_t *src) { struct_locale_32_t* dest = from_ptrv(d); // save the original locale dest->sign = LOCALE_SIGN; - dest->org = src; + dest->org = (void*)src; //copy the 2 arrays for(int i=0; i<13; ++i) { dest->p0[i] = to_hashv(src->p0[i]);