Skip to content

Commit

Permalink
fixed stdint.h artefact
Browse files Browse the repository at this point in the history
  • Loading branch information
kvedala committed Apr 8, 2020
1 parent 66ef12d commit 44a89fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project_euler/Problem 08/sol2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 44a89fb

Please sign in to comment.