fixed stdint.h artefact

This commit is contained in:
Krishna Vedala 2020-04-08 10:02:08 -04:00
parent 66ef12de2c
commit 44a89fb3ba
No known key found for this signature in database
GPG Key ID: BA19ACF8FC8792F7
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ int main(int argc, char *argv[])
num_digits = atoi(argv[1]);
/* allocate memory to store past values */
buffer = calloc(num_digits, sizeof(uint8_t));
buffer = calloc(num_digits, sizeof(unsigned char));
if (!buffer)
{
perror("Unable to allocate memory for buffer");