On 04/22/2016 08:45 AM, Jakub Wilk wrote:
memset(&maxInt, 0xff, sizeof(maxInt));"maxInt = -1" is would be a more obvious way to write it, IMHO.
Both pale in comparison to UINT32_MAX, also found in <stdint.h>.
On 04/22/2016 08:45 AM, Jakub Wilk wrote:
memset(&maxInt, 0xff, sizeof(maxInt));"maxInt = -1" is would be a more obvious way to write it, IMHO.
Both pale in comparison to UINT32_MAX, also found in <stdint.h>.