On 10/29/21 1:24 PM, matheus.fe...@eldorado.org.br wrote:
+        memcpy(ELEM_ADDR(t, idx, sizeof(TYPE)), &val, sizeof(TYPE));           
\

You need to copy val to TYPE before you can memcpy out of it, otherwise failure for big-endian host.


r~

Reply via email to