I have the below code
unsigned int headerbytes = 0U;
headerbytes = (unsigned int*)strtoull(packet_space->header, NULL, 0);
packetHeader header = deconstructPacketHeader((&headerbytes));
packet_space is a char[], basically its a 4byte char array that I want to convert to a unsigned int. deconstructPacketHeader() takes an unsigned int, but stroutll (With my cast) is returning a double pointer. basically, how do I get the actual value of the uint (dereference twice) so I can pass it do deconstructPacketHeader() ?
Thanks!