[Update] Fix UINT32_MAX value in array data + fix somes warning + change malloc and type from Rivier pgm_read