fixing compiler "warning initialization makes pointer from integer without a cast [enabled by default]" by passing packet pointer to construct packet process