about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/box32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/box32.c b/src/box32.c
index 16b28f69..c89b0545 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]);