mirror of https://github.com/TheAlgorithms/C
fixed stdint.h artefact
This commit is contained in:
parent
66ef12de2c
commit
44a89fb3ba
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue